smartmustache/dist/index.d.ts

19 lines
424 B
TypeScript
Raw Normal View History

2016-11-20 16:41:26 +00:00
/**
* 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;
}