mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
9 lines
218 B
TypeScript
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;
|
|
}
|