diff --git a/notNeededPackages.json b/notNeededPackages.json index 7541a88848..f8bce4f0c2 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -372,6 +372,12 @@ "sourceRepoURL": "https://github.com/elitechance/lambda-phi", "asOfVersion": "1.0.1" }, + { + "libraryName": "left-pad", + "typingsPackageName": "left-pad", + "sourceRepoURL": "https://github.com/stevemao/left-pad", + "asOfVersion": "1.2.0" + }, { "libraryName": "Linq.JS", "typingsPackageName": "linq", diff --git a/types/left-pad/index.d.ts b/types/left-pad/index.d.ts deleted file mode 100644 index 1296c4fe02..0000000000 --- a/types/left-pad/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for left-pad 1.1 -// Project: https://github.com/stevemao/left-pad -// Definitions by: Zlatko Andonovski -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare function leftPad(str: string|number, len: number, ch?: string|number): string; - -export = leftPad; diff --git a/types/left-pad/left-pad-tests.ts b/types/left-pad/left-pad-tests.ts deleted file mode 100644 index a3749feb16..0000000000 --- a/types/left-pad/left-pad-tests.ts +++ /dev/null @@ -1,15 +0,0 @@ -import leftPad = require("left-pad"); - -// Tests based on examples in https://github.com/stevemao/left-pad#usage - -leftPad("foo", 5); -// => " foo" - -leftPad("foobar", 6); -// => "foobar"' - -leftPad(1, 2, "0"); -// => "01" - -leftPad(17, 5, 0); -// => "00017" diff --git a/types/left-pad/tsconfig.json b/types/left-pad/tsconfig.json deleted file mode 100644 index 383ebedf76..0000000000 --- a/types/left-pad/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", - "left-pad-tests.ts" - ] -} \ No newline at end of file diff --git a/types/left-pad/tslint.json b/types/left-pad/tslint.json deleted file mode 100644 index 3db14f85ea..0000000000 --- a/types/left-pad/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" }