Опубликовано: 20 Февраль 2025 на канале: Jesse Warden
556
25
We cover why TypeScript's Discriminated Unions are superior to Enum's, how they form a core tool in modelling with types, and how they make your code for API's and UI's safer.
Associated Blog Post: https://jessewarden.com/2022/12/types...