UNPKG

834 BMarkdownView Raw
1# Installation
2> `npm install --save @types/repeating`
3
4# Summary
5This package contains type definitions for repeating (https://github.com/sindresorhus/repeating#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeating.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeating/index.d.ts)
10````ts
11export = repeating;
12
13/**
14 * Repeat a string - fast
15 *
16 * @param count Times the 'string' should be repeated.
17 * @param str String to repeat. Default: ' '
18 */
19declare function repeating(count: number, str?: string): string;
20
21````
22
23### Additional Details
24 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
25 * Dependencies: none
26
27# Credits
28These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).
29
\No newline at end of file