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
384 B
16 lines
384 B
5 months ago
|
/**
|
||
|
* 字符串格式化占位符
|
||
|
* @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
|