The trouble with TypeScript enums Enums are perfect for modeling a set of options. Or are they? Wil Hall March 9, 2020 typescript enums union types