Interface TemplateEngine

Template engine to process configuration files.

Hierarchy

  • TemplateEngine

Properties

renderTemplate: ((props: RenderTemplateProps) => Promise<string>)

Type declaration

    • (props: RenderTemplateProps): Promise<string>
    • Render template from a string.

      Parameters

      • props: RenderTemplateProps

      Returns Promise<string>

renderTemplateFile: ((props: RenderTemplateFileProps) => Promise<string>)

Type declaration

    • (props: RenderTemplateFileProps): Promise<string>
    • Render template from a file.

      Parameters

      • props: RenderTemplateFileProps

      Returns Promise<string>

Generated using TypeDoc