Tech article
Your `switch` Is Lying to You: Discriminated Unions in TypeScript 6
If your reducers don't end in assertNever, your exhaustive switch is one PR away from a silent bug. Here is what TypeScript 6 actually checks.
Dev.to | May 2, 2026 | Gabriel Anhaia