diff --git a/notNeededPackages.json b/notNeededPackages.json index a91bf4f1e5..cace28f147 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -1800,6 +1800,12 @@ "sourceRepoURL": "https://github.com/vuejs/vue-router", "asOfVersion": "2.0.0" }, + { + "libraryName": "wait-for-localhost", + "typingsPackageName": "wait-for-localhost", + "sourceRepoURL": "https://github.com/sindresorhus/wait-for-localhost", + "asOfVersion": "3.1.0" + }, { "libraryName": "webcola", "typingsPackageName": "webcola", diff --git a/types/wait-for-localhost/index.d.ts b/types/wait-for-localhost/index.d.ts deleted file mode 100644 index e0262e563a..0000000000 --- a/types/wait-for-localhost/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -// Type definitions for wait-for-localhost 3.0 -// Project: https://github.com/sindresorhus/wait-for-localhost#readme -// Definitions by: BendingBender -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -export = waitForLocalhost; - -/** - * Wait for localhost to be ready. - */ -declare function waitForLocalhost(options?: waitForLocalhost.Options): Promise; - -declare namespace waitForLocalhost { - interface Options { - /** - * @default 80 - */ - port?: number; - - /** - * Use the `GET` HTTP-method instead of `HEAD` to check if the server is running. - * @default false - */ - useGet?: boolean; - } -} diff --git a/types/wait-for-localhost/tsconfig.json b/types/wait-for-localhost/tsconfig.json deleted file mode 100644 index fb190a232f..0000000000 --- a/types/wait-for-localhost/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "wait-for-localhost-tests.ts" - ] -} diff --git a/types/wait-for-localhost/tslint.json b/types/wait-for-localhost/tslint.json deleted file mode 100644 index 3db14f85ea..0000000000 --- a/types/wait-for-localhost/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" } diff --git a/types/wait-for-localhost/wait-for-localhost-tests.ts b/types/wait-for-localhost/wait-for-localhost-tests.ts deleted file mode 100644 index a4f95b9622..0000000000 --- a/types/wait-for-localhost/wait-for-localhost-tests.ts +++ /dev/null @@ -1,5 +0,0 @@ -import waitForLocalhost = require('wait-for-localhost'); - -waitForLocalhost(); // $ExpectType Promise -waitForLocalhost({ port: 8080 }); // $ExpectType Promise -waitForLocalhost({ useGet: true }); // $ExpectType Promise