Re:TypeScript 2.4
by brokebook on Tuesday June 27, 2017 @04:14PM
(#14648964)
this is great news. the code below failed to compile in 2.3 but works in 2.4. it was an annoying bummer when working with ADTs in typescript. It's also nice that you can use string enum for the discriminators now. "{ kind: Kind.Ok, value: 'bla' }" feels less stringly.
[ Parent
| on HN ]
There are no comments on this comment yet.