Re:TypeScript’s quirks: How inconsistencies make the languag...
by hopia on Friday January 31, 2020 @07:59PM
(#22207698)
Personally I always found it annoying to manually add a common tag to every interface/type on TS just to have it work like an union type. But since TS doesn't leak types to runtime that's the only way.
[ Parent
| on HN ]
There are no comments on this comment yet.