Libraries
    Preparing search index...

    Function captureProperties

    • Captures structured properties from the template, applying destructure semantics: {@Prop} keeps the full object, {Prop} calls toString() on objects that have a custom toString.

      Parameters

      • tokens: TemplateToken[]

        parsed template tokens

      • properties: Record<string, unknown>

        raw property values

      Returns Record<string, unknown>

      property bag with appropriate serialization applied