Re:TypeScript’s quirks: How inconsistencies make the languag...
by jahewson on Friday January 31, 2020 @10:57PM
(#22208551)
That’s control-flow sensitive type deduction though - not specific to union types. I agree that proper patten matching is much nicer - but unavailable in JS.
[ Parent
| on HN ]
There are no comments on this comment yet.