npx prettier --write .\types\repeating\**

This commit is contained in:
Claas Ahlrichs
2019-03-31 11:09:50 +02:00
parent 2ce437c426
commit 4eb1a21bf7
3 changed files with 5 additions and 13 deletions
+1 -2
View File
@@ -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;
+1 -1
View File
@@ -3,5 +3,5 @@ import repeat from "repeating";
repeating(5);
//=> ' '
repeating(3, 'unicorn ');
repeating(3, "unicorn ");
//=> 'unicorn unicorn unicorn '
+3 -10
View File
@@ -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"]
}