Options
All
  • Public
  • Public/Protected
  • All
Menu

TS 4.1 template literal types

type Z = `${'a' | 'b'}${'a' | 'b'}`

Hierarchy

  • Type
    • TemplateLiteralType

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

head

head: string

tail

tail: [Type, string][]

Readonly type

type: "template-literal" = "template-literal"

The type name identifier.

Methods

toString

  • toString(): string

visit

Generated using TypeDoc