Understand The Terminology Around Unions
Extracting Members of a Discriminated Union
Excluding Parts of a Discriminated Union
The Power of Union Types in TypeScript
Extract Object Properties into Individual Types
Extract the Discriminator from a Discriminated Union
Resolve an Object’s Values as Literal Types