1
This commit is contained in:
16
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/padStart.d.ts
vendored
Normal file
16
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/padStart.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 用指定字符从前面开始补全字符串
|
||||
* @param str 字符串
|
||||
* @param targetLength 结果长度
|
||||
* @param padString 补全字符
|
||||
*/
|
||||
export declare function padStart(str: string, targetLength: number, padString?: string): string;
|
||||
export declare function padStart(str: any, targetLength: number, padString?: any): string;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
padStart: typeof padStart;
|
||||
}
|
||||
}
|
||||
|
||||
export default padStart
|
||||
Reference in New Issue
Block a user