mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
382 B
TypeScript
12 lines
382 B
TypeScript
// Type definitions for repeat-string 1.6
|
|
// Project: https://github.com/jonschlinkert/repeat-string
|
|
// Definitions by: Adam Zerella <https://github.com/adamzerella>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Repeat the given `string` the specified `number` of times.
|
|
*/
|
|
declare function repeat(str: string, num: number): string;
|
|
|
|
export = repeat;
|