diff --git a/notNeededPackages.json b/notNeededPackages.json index 9a387a3b26..24a4960fe9 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -3126,6 +3126,12 @@ "sourceRepoURL": "https://github.com/sindresorhus/trash", "asOfVersion": "5.0.1" }, + { + "libraryName": "trim-newlines", + "typingsPackageName": "trim-newlines", + "sourceRepoURL": "https://github.com/sindresorhus/trim-newlines", + "asOfVersion": "3.0.0" + }, { "libraryName": "TsMonad", "typingsPackageName": "tsmonad", diff --git a/types/trim-newlines/index.d.ts b/types/trim-newlines/index.d.ts deleted file mode 100644 index 7abe323fe2..0000000000 --- a/types/trim-newlines/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Type definitions for trim-newlines 2.0 -// Project: https://github.com/sindresorhus/trim-newlines#readme -// Definitions by: Daniel Cassidy -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare function trimNewlines(input: string): string; - -declare namespace trimNewlines { - function start(input: string): string; - function end(input: string): string; -} - -export = trimNewlines; diff --git a/types/trim-newlines/trim-newlines-tests.ts b/types/trim-newlines/trim-newlines-tests.ts deleted file mode 100644 index e3bc17661a..0000000000 --- a/types/trim-newlines/trim-newlines-tests.ts +++ /dev/null @@ -1,10 +0,0 @@ -import trimNewlines = require("trim-newlines"); - -// $ExpectType string -trimNewlines('\nunicorn\r\n'); - -// $ExpectType string -trimNewlines.start("\n\npony\n"); - -// $ExpectType string -trimNewlines.end("\ndonk\n\n"); diff --git a/types/trim-newlines/tsconfig.json b/types/trim-newlines/tsconfig.json deleted file mode 100644 index 8dbcfef306..0000000000 --- a/types/trim-newlines/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "trim-newlines-tests.ts" - ] -} diff --git a/types/trim-newlines/tslint.json b/types/trim-newlines/tslint.json deleted file mode 100644 index 3db14f85ea..0000000000 --- a/types/trim-newlines/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" }