integrate tsn and clean up
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
declare var hello: string;
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
var hello = "hello";
|
||||
+1
@@ -0,0 +1 @@
|
||||
declare var something: string;
|
||||
+1
@@ -0,0 +1 @@
|
||||
var something = "something";
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
declare var testplugin: any;
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
var testplugin = require("../dist/index.js");
|
||||
describe("testplugins", function () {
|
||||
describe(".logSomething", function () {
|
||||
it("should log something", function () {
|
||||
testplugin.logSomething();
|
||||
});
|
||||
});
|
||||
});
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
declare let testplugin: {
|
||||
logSomething: () => void;
|
||||
};
|
||||
export = testplugin;
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
var testplugin = {
|
||||
logSomething: function () {
|
||||
console.log("only function executed");
|
||||
}
|
||||
};
|
||||
module.exports = testplugin;
|
||||
Reference in New Issue
Block a user