Skip to content

@arcmantle/lit-jsx / runtime/tagged-template

runtime/tagged-template

Variables

__$t()

const __$t: (strings) => TemplateStringsArray

Defined in: runtime/tagged-template.ts:11

Identity function for template string arrays used by jsx-lit compiler.

This function is used as a marker by the jsx-lit compiler to identify template literals that should be processed for JSX compilation. It simply returns the input unchanged but signals to the compiler where JSX templates are located.

Parameters

strings

TemplateStringsArray

The template strings array from a template literal

Returns

TemplateStringsArray

The same template strings array unchanged

Released under the Apache-2.0 License.