19 lines
424 B
TypeScript
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;
|
|
}
|