@types/repeating
Version:
TypeScript definitions for repeating
29 lines (22 loc) • 834 B
Markdown
# Installation
> `npm install --save @types/repeating`
# Summary
This package contains type definitions for repeating (https://github.com/sindresorhus/repeating#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeating.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeating/index.d.ts)
````ts
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;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: none
# Credits
These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).