@adonisjs/ace
Version:
Commandline apps framework used by AdonisJs
11 lines (10 loc) • 385 B
TypeScript
/**
* Process string as a template literal string and processes
* data
*/
export declare function template(tpl: string, data: Object, filename?: string, isMustache?: boolean): any;
/**
* Loads template file from the disk and process it contents
* using the [[template]] method
*/
export declare function templateFromFile(file: string, data: object, isMustache: boolean): string;