Re:TypeScript 3.5
by tomp on Thursday May 30, 2019 @08:17AM
(#20050387)
Yeah, that's the runtime perspective... but for the type system, they're different... with the "naked" union being much harder (as they're non-algebraic - `a | b | b` always equals `a | b` and might even equal just `a` for some values of `a` and `b`)
[ Parent
| on HN ]
There are no comments on this comment yet.