enum
Also written: enums, enumeration
A named set of values, such as `Carrier.UPS`. Unlike most TypeScript, it compiles to real JavaScript code, so many teams use unions of string literals instead.
Also written: enums, enumeration
A named set of values, such as `Carrier.UPS`. Unlike most TypeScript, it compiles to real JavaScript code, so many teams use unions of string literals instead.