Literal type

A type containing one exact string, number, bigint, or Boolean value rather than every value of its primitive type.

Also known as literal types

Used in