1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/repeat.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/repeat.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 将字符串重复 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
|
||||
Reference in New Issue
Block a user