Interface HandlebarsHelper

Handlebars helper

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

Properties

Properties

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

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

Type declaration

    • (...args): unknown
    • Helper function to be invoked when a Handlebars template is rendered.

      Parameters

      • Rest ...args: any

      Returns unknown

name: string

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

Generated using TypeDoc