2020-12-02 13:01:38 +01:00

9 lines
218 B
TypeScript

import Dict = NodeJS.Dict;
/**
* A template engine takes as input a template and applies the given options to it.
*/
export interface TemplateEngine {
apply: (template: string, options: Dict<string>) => string;
}