Re:TypeScript vs. ReasonML
by loxs on Wednesday September 04, 2019 @01:53PM
(#20879695)
This isn't needed any more. Modern TS enforces switch exhaustiveness out-of-the box (if you provide the proper union type, of course).
[ Parent
| on HN ]
This is not true: https://www.typescriptlang.org/docs/handbook/advanced-types....
Yeah, I always use strict and specify return type. IMO, still counts.