22 lines
434 B
TypeScript
22 lines
434 B
TypeScript
import { XEUtilsMethods } from '../xe-utils'
|
|
|
|
/**
|
|
* 解析动态字符串模板
|
|
* @param str 字符串模板
|
|
* @param obj 对象
|
|
*/
|
|
export declare function template(str: string, obj: any): string;
|
|
|
|
declare module '../xe-utils' {
|
|
interface XEUtilsMethods {
|
|
/**
|
|
* 解析动态字符串模板
|
|
* @param str 字符串模板
|
|
* @param obj 对象
|
|
*/
|
|
template: typeof template;
|
|
}
|
|
}
|
|
|
|
export default template
|