• Renders the template at the given path with the given data.

    Type Parameters

    • T extends Record<string, unknown>

    Parameters

    • path: `${string}.hbs`

      The path of the handlebars template file.

    • data: T

      The data to fill into the template.

    Returns Promise<string>

    The rendered html string.