Pattern matching and type safety in TypeScript by Michal ZaleckiMichal Zalecki (LogRocket Blog)
I think it’s fair to say that most programmers understand type safety as a feature of the programming language which eliminates the type errors. TypeScript as a statically typed superset of JavaScript addresses this issue, especially in the strict mode which is more rigorous and performs additional checks. That being said, I’m more interested in …

Interesting article on algebraic data type in :

Mentions fp-ts library for typed functional programming.