• Renders the given handlebars template string as html, using the provided data as variables.

    Type Parameters

    • T extends Record<string, unknown>

    Parameters

    • templateString: string

      The handlebars template string.

    • data: T

      The data to use inside the template.

    Returns string

    The rendered html content.