UNPKG

164 BTypeScriptView Raw
1/**
2 * Repeat the given `string` the specified `number` of times.
3 */
4declare function repeat(str: string, num?: number | string | null): string;
5
6export = repeat;