1 guide
ts-pattern brings exhaustive pattern matching to TypeScript in 2026: match(), P guards, when(), exhaustive checking, and real-world comparison with switch.