UNPKG

343 BTypeScriptView Raw
1/**
2 * 将字符串重复 n 次
3 * @param str 字符串
4 * @param count 次数
5 */
6export declare function repeat(str: string, count: number): string;
7export declare function repeat(str: any, count: number): string;
8
9declare module './ctor' {
10 interface XEUtilsMethods {
11 repeat: typeof repeat;
12 }
13}
14
15export default repeat