integrate tsn and clean up

This commit is contained in:
2016-07-01 02:28:34 +02:00
parent 88cd04d0e2
commit 1723193d27
85 changed files with 610 additions and 280 deletions
+1
View File
@@ -0,0 +1 @@
declare var hello: string;
+1
View File
@@ -0,0 +1 @@
var hello = "hello";
+1
View File
@@ -0,0 +1 @@
declare var something: string;
+1
View File
@@ -0,0 +1 @@
var something = "something";
+1
View File
@@ -0,0 +1 @@
declare var testplugin: any;
+8
View File
@@ -0,0 +1,8 @@
var testplugin = require("../dist/index.js");
describe("testplugins", function () {
describe(".logSomething", function () {
it("should log something", function () {
testplugin.logSomething();
});
});
});
+4
View File
@@ -0,0 +1,4 @@
declare let testplugin: {
logSomething: () => void;
};
export = testplugin;
+7
View File
@@ -0,0 +1,7 @@
"use strict";
var testplugin = {
logSomething: function () {
console.log("only function executed");
}
};
module.exports = testplugin;