Interface HandlebarsHelper

Handlebars helper

interface HandlebarsHelper {
    fn: (...args: any) => unknown;
    name: string;
}

Properties

Properties

fn: (...args: any) => unknown

Helper function to be invoked when a Handlebars template is rendered.

name: string

Name which to refer to the helper from a Handlebars template.