TypeScript — Get All Keys of an Enum
Enums in TypeScript are a feature that is not only a type-level extension to JavaScript. They also carry a named set of constants. TypeScript supports numeric enums and string enums. Both use string values for their identifiers. This tutorial shows you how to retrieve all available keys of a TypeScript …
Continue Reading