diff --git a/menubar/menubar.d.ts b/menubar/index.d.ts similarity index 93% rename from menubar/menubar.d.ts rename to menubar/index.d.ts index 678207fb78..7f764d3082 100644 --- a/menubar/menubar.d.ts +++ b/menubar/index.d.ts @@ -3,8 +3,8 @@ // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// -/// +/// +/// declare namespace Menubar { type Position diff --git a/menubar/menubar-tests.ts b/menubar/menubar-tests.ts index f403b95a50..b4b76d2f87 100644 --- a/menubar/menubar-tests.ts +++ b/menubar/menubar-tests.ts @@ -1,5 +1,3 @@ -/// - import * as menubar from "menubar"; var mb1 = menubar(); diff --git a/menubar/tsconfig.json b/menubar/tsconfig.json new file mode 100644 index 0000000000..a2be790531 --- /dev/null +++ b/menubar/tsconfig.json @@ -0,0 +1,20 @@ + +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "menubar-tests.ts" + ] +}