Re:Announcing TypeScript 2.1
by ng12 on Wednesday December 07, 2016 @02:13PM
(#13125268)
Simple example: keyof allows you to safely describe objects which only partially fit an interface.
Now the defaults object can only contain valid keys from Values.
[ Parent
| on HN ]
There are no comments on this comment yet.