diff --git a/types/boom/tsconfig.json b/types/boom/tsconfig.json index 1ad2b9c1f3..c3bee46396 100644 --- a/types/boom/tsconfig.json +++ b/types/boom/tsconfig.json @@ -11,7 +11,7 @@ "typeRoots": [ "../" ], - "types": ["node"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/h2o2/index.d.ts b/types/h2o2/index.d.ts index d15eb90cec..a1a3680e5c 100644 --- a/types/h2o2/index.d.ts +++ b/types/h2o2/index.d.ts @@ -4,6 +4,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 +/// + import http = require("http"); import * as hapi from 'hapi'; import * as Boom from 'boom'; diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index 2ef76367dd..97ce0cc386 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -22,6 +22,8 @@ * Renaming of all interfaces to remove preceding I in preparation of dtslint */ +/// + import Events = require("events"); import stream = require("stream"); import http = require("http"); diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index c891abdc9c..f8d5b055e2 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -11,7 +11,7 @@ "typeRoots": [ "../" ], - "types": ["node"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/inert/inert-tests.ts b/types/inert/inert-tests.ts index 9062e13f6b..82cd1f1295 100644 --- a/types/inert/inert-tests.ts +++ b/types/inert/inert-tests.ts @@ -1,5 +1,7 @@ // Copied from: https://github.com/hapijs/inert#examples +/// + import Path = require('path'); import Hapi = require('hapi'); import Inert = require('inert'); diff --git a/types/inert/tsconfig.json b/types/inert/tsconfig.json index 7c74dcc2e7..5b805cfc2d 100644 --- a/types/inert/tsconfig.json +++ b/types/inert/tsconfig.json @@ -11,7 +11,7 @@ "typeRoots": [ "../" ], - "types": ["node"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/shot/index.d.ts b/types/shot/index.d.ts index 4fdaff2688..323fb5137f 100644 --- a/types/shot/index.d.ts +++ b/types/shot/index.d.ts @@ -4,6 +4,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 +/// + import stream = require("stream"); import http = require("http"); diff --git a/types/shot/tsconfig.json b/types/shot/tsconfig.json index 12dbee6598..eb876b2143 100644 --- a/types/shot/tsconfig.json +++ b/types/shot/tsconfig.json @@ -11,7 +11,7 @@ "typeRoots": [ "../" ], - "types": ["node"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/vision/tsconfig.json b/types/vision/tsconfig.json index 428d9c2764..9d1c80a15c 100644 --- a/types/vision/tsconfig.json +++ b/types/vision/tsconfig.json @@ -11,7 +11,7 @@ "typeRoots": [ "../" ], - "types": ["node"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/vision/vision-tests.ts b/types/vision/vision-tests.ts index 0dbe51ca40..74f8f432b0 100644 --- a/types/vision/vision-tests.ts +++ b/types/vision/vision-tests.ts @@ -1,6 +1,8 @@ +/// + import * as Hapi from 'hapi'; -import Vision from './index'; +import Vision from 'vision'; const server = new Hapi.Server(); server.connection({ port: 80 });