diff --git a/types/repeating/index.d.ts b/types/repeating/index.d.ts index 4386f38510..6d1e8a2359 100644 --- a/types/repeating/index.d.ts +++ b/types/repeating/index.d.ts @@ -7,9 +7,8 @@ export = repeating; /** * Repeat a string - fast - * + * * @param count Times the 'string' should be repeated. * @param str String to repeat. Default: ' ' */ declare function repeating(count: number, str?: string): string; - diff --git a/types/repeating/repeating-tests.ts b/types/repeating/repeating-tests.ts index d39ea6f826..855cb98f12 100644 --- a/types/repeating/repeating-tests.ts +++ b/types/repeating/repeating-tests.ts @@ -3,5 +3,5 @@ import repeat from "repeating"; repeating(5); //=> ' ' -repeating(3, 'unicorn '); +repeating(3, "unicorn "); //=> 'unicorn unicorn unicorn ' diff --git a/types/repeating/tsconfig.json b/types/repeating/tsconfig.json index beb83da513..ae0185c070 100644 --- a/types/repeating/tsconfig.json +++ b/types/repeating/tsconfig.json @@ -1,24 +1,17 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ - "es6" - ], + "lib": ["es6"], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, "esModuleInterop": true }, - "files": [ - "index.d.ts", - "repeating-tests.ts" - ] + "files": ["index.d.ts", "repeating-tests.ts"] }