1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toFormatString.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toFormatString.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 字符串格式化占位符
|
||||
* @param { string } str
|
||||
* @param { object | any[] } obj
|
||||
*/
|
||||
export declare function toFormatString(str: string | null, list: any[]): string;
|
||||
export declare function toFormatString(str: any, obj: any): string;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
toFormatString: typeof toFormatString;
|
||||
}
|
||||
}
|
||||
|
||||
export default toFormatString
|
||||
Reference in New Issue
Block a user