1 | // Type definitions for repeat-string 1.6
|
2 | // Project: https://github.com/jonschlinkert/repeat-string
|
3 | // Definitions by: Adam Zerella <https://github.com/adamzerella>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /**
|
7 | * Repeat the given `string` the specified `number` of times.
|
8 | */
|
9 | declare function repeat(str: string, num?: number | null): string;
|
10 |
|
11 | export = repeat;
|