4 ms·
The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?
by icholy 10y ago
The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?
- seattle_spring 10y ago$Keys<> for keyof, $MapObj<> for mapped types. They are sorely missing lookup types though.
- curveship 10y agoI can't seem to find any info online about $MapObj<>? I searched the docs, google ... nuthin'. Am I just missing something?
- seattle_spring 10y agoApologies, it's $ObjMap. And it's unfortunately not in the documentation, which could admittedly be improved.
- jauco 10y agoGoogling for mapobj doesn't give me any results. Can you point to some documentation on these?