Re:TypeScript’s quirks: How inconsistencies make the languag...
by Shacklz on Sunday February 02, 2020 @03:22AM
(#22215855)
Pattern matching is definitely something I also miss. For input validation and Optional/Either types, io-ts/fp-ts (https://github.com/gcanti/io-ts) fulfill my needs perfectly, especially io-ts is something I can't recommend enough. Saved me so many headaches from sudden breaking changes in APIs we consume.
[ Parent
| on HN ]
There are no comments on this comment yet.