Pattern Matching in TypeScript: Tuples and Records
Intro
As mentioned in my previous article, while being on a vacation and work-free I decided to challenge myself with implementing pattern matching in TypeScript. While sitting in airports and planes and shuttles and between all the dancing workshops...
robgev.hashnode.dev12 min read
Phakorn Kiong
Just another developer
Just sharing here, I pretty much like this pattern matching. Using it a lot in my previous place
github.com/gvergnaud/ts-pattern
Nice write up btw!