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
446 B
16 lines
446 B
/**
|
|
* 用指定字符从后面开始补全字符串
|
|
* @param str 字符串
|
|
* @param targetLength 结果长度
|
|
* @param padString 补全字符
|
|
*/
|
|
export declare function padEnd(str: string, targetLength: number, padString?: string): string;
|
|
export declare function padEnd(str: any, targetLength: number, padString?: any): string;
|
|
|
|
declare module './ctor' {
|
|
interface XEUtilsMethods {
|
|
padEnd: typeof padEnd;
|
|
}
|
|
}
|
|
|
|
export default padEnd
|
|
|