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

Properties

head: string
tail: [Type, string][]
type: "template-literal" = "template-literal"

The type name identifier.

Methods

  • toString(): string

Generated using TypeDoc