-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow type helpers #2710
Comments
Sounds neat. It'd probably be best to log these separately if/when more detailed proposals become available. |
I discussed with @wwwsevolod over Gitter - something like |
There is another issue on this #3779 |
It seems like a
Extending
See also #4640 (comment) asking for something equivalent. |
Hi all! Is this stuff is going to be implemented? Our teams is really interested in something like $Shape to improve ReactJS and Redux workflow. |
Shape seems to be related to type guards. Is that correct? |
$Shape apears to be by far the highest in demand from that list. It's basically mandatory to have a typesafe |
This became FWIW these flow helps aren't officially stable i.e. subject to change. They are using |
Taking the list (edited for a little more clarity):
Out of these, here's ones with current equivalents as of 2.1:
Out of the remaining:
|
@basarat I suspect people started relying on those due to the limitations of Flow's public type-level APIs. 😉 |
Flow offer some nice type helpers in his recent versions, while some of them are already addressed by typescript, some could perhaps be helpful.
Here are extracted comments from flow source just for inspiration.
The text was updated successfully, but these errors were encountered: