Type-level #TypeScript nerd — Building https://t.co/0GmYbCJKEj — Author of TS-Pattern — Dataviz Software Engineer @datadoghq
Jan 9, 2023 • 4 tweets • 2 min read
TS-Pattern's inference just got a bit smarter!
✅ Unreachable branches do not type-check anymore
✅ `.with ` and `.otherwise` inherit type narrowing from previous branches
✅ ~15% type-checking performance improvement