Omit for Discriminated Unions in TypeScript
Explains how to use TypeScript's Omit utility type with discriminated unions for better React component prop typing.
Explains how to use TypeScript's Omit utility type with discriminated unions for better React component prop typing.
Explores the concept of discriminated unions in C#, their implementation using generic Results classes, and their application in ASP.NET Core Minimal APIs.
Explores potential future features for the C# programming language, including compound assignments in object initializers and discriminated unions.
Explains how destructuring breaks TypeScript's discriminated union type narrowing and offers workarounds.
A technical article presenting a contract pattern for encoding and decoding discriminated union types in schemaless data stores, using the TypeShape library.