Interface TemplateEngine

Template engine to process configuration files.

interface TemplateEngine {
    renderTemplate: ((props) => Promise<string>);
    renderTemplateFile: ((props) => Promise<string>);
}

Properties

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

Render template from a string.

Type declaration

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

      Parameters

      Returns Promise<string>

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

Render template from a file.

Type declaration

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

      Parameters

      Returns Promise<string>

Generated using TypeDoc