Logo Xantham

TsTemplateLiteralType Type

Represents a template literal type with string segments and interpolated types. Reflects: `TemplateLiteralType` at the checker layer (TypeFlags.TemplateLiteral). Example (TS): `` `on${string}` `` where texts = ["on", ""] and types = [string]

Record fields

Record Field Description

Texts

Full Usage: Texts

Field type: string list
Field type: string list

Types

Full Usage: Types

Field type: TypeKey list
Field type: TypeKey list

Type something to start searching.