Interface InitHandlebarsHelperProps

interface InitHandlebarsHelperProps {
    compile: ((templateString, options?) => HandlebarsTemplateDelegate);
    logger: TkmLogger;
    projectDir: string;
    safeString: ((str) => HandlebarsSafeString);
}

Properties

compile: ((templateString, options?) => HandlebarsTemplateDelegate)

Compile template string

Type declaration

logger: TkmLogger

Logger instance.

projectDir: string

Current project directory.

safeString: ((str) => HandlebarsSafeString)

Create Handlebars SafeString instance. Handlebars will not perform html escape for SafeStrings.

Type declaration

Generated using TypeDoc