Re:Problems with TypeScript
by mixedCase on Wednesday January 15, 2020 @01:57PM
(#22057230)
They also remove redundant testing (you only need to prove something fulfills certain properties once as long as you have a type for it); and the more advanced the type system the fewer tests needed.
[ Parent
| on HN ]
friendly tips: runtime type checks are available
https://github.com/gcanti/io-ts
https://github.com/pelotom/runtypes
Re:Problems with TypeScript
by paulcowan1970 on Wednesday January 15, 2020 @03:30PM
(#22058139)
I mention io-ts https://github.com/gcanti/io-ts in the post