TypeScript nerd β’ Author of TS-Pattern β’ Staff Eng @datadoghq
Unleash TypeScript's full potential π https://t.co/0GmYbCJKEj
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