Libraries
    Preparing search index...

    Function renderTemplate

    • Renders a parsed template into a human-readable string.

      For non-destructured properties, calls toString() if available on the value. For destructured properties ({@Prop}), uses JSON.stringify.

      Parameters

      • tokens: TemplateToken[]

        parsed template tokens

      • properties: Record<string, unknown>

        property values to interpolate

      Returns string

      the rendered message string