String Based Enums
Last updated
Was this helpful?
Last updated
Was this helpful?
Sometimes you need a collection of strings collected under a common key. Prior to TypeScript 2.4, TypeScript only supported number-based enums. If using versions prior to 2.4, a work-around is to use .