smartmustache/dist/index.d.ts
2016-11-20 17:41:26 +01:00

19 lines
424 B
TypeScript

/**
* class Tlt allows templates to be used with different sets of data
*/
export declare class Tlt {
templateString: string;
/**
* 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;
}