mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
npx prettier --write .\types\repeating\**
This commit is contained in:
Vendored
+1
-2
@@ -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;
|
||||
|
||||
|
||||
@@ -3,5 +3,5 @@ import repeat from "repeating";
|
||||
repeating(5);
|
||||
//=> ' '
|
||||
|
||||
repeating(3, 'unicorn ');
|
||||
repeating(3, "unicorn ");
|
||||
//=> 'unicorn unicorn unicorn '
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user