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 :

https://blog.logrocket.com/pattern-matching-and-type-safety-in-typescript-1da1231a2e34/

Mentions fp-ts library for typed functional programming.

Leave a Reply