Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TemplateTag<Raw, Return>

Type of template literal tag

Type parameters

  • Raw

  • Return = string

Hierarchy

  • TemplateTag

Callable

  • __call(strings: readonly string[], ...raws: Raw[]): Return
  • Type of template literal tag

    Parameters

    • strings: readonly string[]

      Template strings

    • Rest ...raws: Raw[]

      Values to format

    Returns Return

    Formatted text

Generated using TypeDoc