Re:Announcing TypeScript 2.1
by icholy on Wednesday December 07, 2016 @01:04PM
(#13124610)
The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?
[ Parent
| on HN ]
Re:Announcing TypeScript 2.1
by seattle_spring on Wednesday December 07, 2016 @01:13PM
(#13124705)
$Keys<> for keyof, $MapObj<> for mapped types. They are sorely missing lookup types though.
Googling for mapobj doesn't give me any results. Can you point to some documentation on these?
I can't seem to find any info online about $MapObj<>? I searched the docs, google ... nuthin'. Am I just missing something?
Re:Announcing TypeScript 2.1
by seattle_spring on Wednesday December 07, 2016 @06:56PM
(#13127329)
Apologies, it's $ObjMap. And it's unfortunately not in the documentation, which could admittedly be improved.