Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icholy
on Dec 7, 2016
|
parent
|
context
|
favorite
| on:
Announcing TypeScript 2.1
The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?
seattle_spring
on Dec 7, 2016
[–]
$Keys<> for keyof, $MapObj<> for mapped types. They are sorely missing lookup types though.
jauco
on Dec 7, 2016
|
parent
|
next
[–]
Googling for mapobj doesn't give me any results. Can you point to some documentation on these?
curveship
on Dec 7, 2016
|
parent
|
prev
[–]
I can't seem to find any info online about $MapObj<>? I searched the docs, google ... nuthin'. Am I just missing something?
seattle_spring
on Dec 7, 2016
|
root
|
parent
[–]
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: