Represents a literal type.

type A = "A"
type B = 1

Hierarchy (View Summary)

Constructors

Methods

Properties

type: "literal"

The type name identifier.

value: null | string | number | bigint | boolean