diff --git a/angular-feature-flags/angular-feature-flags.d.ts b/angular-feature-flags/angular-feature-flags.d.ts index 99ef300976..31b5173edc 100644 --- a/angular-feature-flags/angular-feature-flags.d.ts +++ b/angular-feature-flags/angular-feature-flags.d.ts @@ -3,7 +3,7 @@ // Definitions by: Borislav Zhivkov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// declare namespace angular.featureflags { export interface FlagData { diff --git a/busboy/busboy.d.ts b/busboy/busboy.d.ts index 3b64f3d112..e9946f26c3 100644 --- a/busboy/busboy.d.ts +++ b/busboy/busboy.d.ts @@ -2,7 +2,7 @@ // Project: https://www.npmjs.com/package/busboy // Definitions by: Jacob Baskin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// declare namespace busboy { interface Options { diff --git a/d3-tip/d3-tip.d.ts b/d3-tip/index.d.ts similarity index 98% rename from d3-tip/d3-tip.d.ts rename to d3-tip/index.d.ts index 08f0d37f5f..ce3d7f21bc 100644 --- a/d3-tip/d3-tip.d.ts +++ b/d3-tip/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Gert Braspenning // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// declare namespace d3 { type TooltipDirection = ("n" | "s" | "e" | "w" | "nw" | "ne" | "sw" | "se"); diff --git a/d3-tip/tsconfig.json b/d3-tip/tsconfig.json new file mode 100644 index 0000000000..a8f36a3861 --- /dev/null +++ b/d3-tip/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "d3-tip-tests.ts" + ] +} diff --git a/imap-simple/imap-simple.d.ts b/imap-simple/index.d.ts similarity index 98% rename from imap-simple/imap-simple.d.ts rename to imap-simple/index.d.ts index c7e66c4997..42a9a0fdf9 100644 --- a/imap-simple/imap-simple.d.ts +++ b/imap-simple/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Jeffery Grajkowski // Definitions: https://github.com/psnider/DefinitelyTyped/imap-simple -/// +/// declare namespace IMAPS { diff --git a/imap-simple/tsconfig.json b/imap-simple/tsconfig.json new file mode 100644 index 0000000000..c7dd5ee90b --- /dev/null +++ b/imap-simple/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "imap-simple-tests.ts" + ] +} \ No newline at end of file diff --git a/locutus/locutus_print.ts b/locutus/locutus_print.ts index fc21294639..1db177023b 100644 --- a/locutus/locutus_print.ts +++ b/locutus/locutus_print.ts @@ -6,7 +6,7 @@ node locutus_print.js define */ -/// +/// /// var locutus = require('locutus'); diff --git a/mapbox-gl/mapbox-gl.d.ts b/mapbox-gl/index.d.ts similarity index 99% rename from mapbox-gl/mapbox-gl.d.ts rename to mapbox-gl/index.d.ts index 2ee8d30949..654d3b2439 100644 --- a/mapbox-gl/mapbox-gl.d.ts +++ b/mapbox-gl/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Dominik Bruderer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// declare namespace mapboxgl { let accessToken: string; @@ -462,7 +462,7 @@ declare namespace mapboxgl { */ export class VideoSource implements Source, VideoSourceOptions { type: "video"; - + constructor(options?: mapboxgl.VideoSourceOptions); getVideo(): HTMLVideoElement; diff --git a/mapbox-gl/tsconfig.json b/mapbox-gl/tsconfig.json new file mode 100644 index 0000000000..ad8a2464ac --- /dev/null +++ b/mapbox-gl/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "mapbox-gl-tests.ts" + ] +} \ No newline at end of file