Hacker News new | past | comments | ask | show | jobs | submit login

The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?



$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?


Apologies, it's $ObjMap. And it's unfortunately not in the documentation, which could admittedly be improved.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: