NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/xe-utils/methods/string/repeat.d.ts
2023-09-14 14:47:11 +08:00

22 lines
417 B
TypeScript

import { XEUtilsMethods } from '../xe-utils'
/**
* 将字符串重复 n 次
* @param str 字符串
* @param count 次数
*/
export declare function repeat(str: string, count: number): string;
declare module '../xe-utils' {
interface XEUtilsMethods {
/**
* 将字符串重复 n 次
* @param str 字符串
* @param count 次数
*/
repeat: typeof repeat;
}
}
export default repeat