Class ChainedTemplateEngine<T>

Calls the given array of TemplateEngines in the order they appear, feeding the output of one into the input of the next.

The first engine will be called with the provided contents and template parameters. All subsequent engines will be called with no template parameter. Contents will still be passed along and another entry will be added for the body of the previous output.

Type Parameters

  • T extends Dict<any> = Dict<any>




chainedEngines: TemplateEngine<Dict<any>>[]
firstEngine: TemplateEngine<T>
renderedName: string