API/EnumValues
EnumValues
src/types/enum-values.type.tstype
The values an enum-like param accepts: a string enum object, or a tuple of strings. Numeric enums are refused — their objects carry reverse mappings.
Definition
Section titled “Definition”type EnumValues = Readonly<Record<string, T>> | readonly T[]