You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
328 B
16 lines
328 B
5 months ago
|
/**
|
||
|
* 将字符串重复 n 次
|
||
|
* @param str 字符串
|
||
|
* @param count 次数
|
||
|
*/
|
||
|
export declare function repeat(str: string, count: number): string;
|
||
|
export declare function repeat(str: any, count: number): string;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
repeat: typeof repeat;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default repeat
|