smartmustache/dist/index.d.ts
2017-02-25 23:40:15 +01:00

19 lines
415 B
TypeScript

/**
* class Tlt allows templates to be used with different sets of data
*/
export declare class Tlt {
template: any;
/**
* constructor of class Tlt
*/
constructor(templateStringArg: string);
/**
* returns template string with data applied
*/
applyData(data: any): string;
/**
* set a new template string
*/
setTemplate(templateStringArg: string): void;
}