Literal types
The generic string
type refers to any sequence of characters. TypeScript also allows us to define types that refer to specific strings.
The generic string
type refers to any sequence of characters. TypeScript also allows us to define types that refer to specific strings.