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
The case for Discriminated Union Types with Typescript Why Discriminated Union Types are an important part of modeling solutions with TypeScript. Alejandro Dustet September 30, 2019 Union Types TypeScript JavaScript Web