1 | /**
|
2 | * 解析动态字符串模板
|
3 | * @param str 字符串模板
|
4 | * @param args 对象
|
5 | */
|
6 | export declare function template(str: string, args: any | any[]): string;
|
7 | export declare function template(str: any, args: any | any[]): string;
|
8 | export declare function template(str: string, args: any | any[], options: { tmplRE?: RegExp }): string;
|
9 | export declare function template(str: any, args: any | any[], options: { tmplRE?: RegExp }): string;
|
10 |
|
11 | declare module './ctor' {
|
12 | interface XEUtilsMethods {
|
13 | template: typeof template;
|
14 | }
|
15 | }
|
16 |
|
17 | export default template
|