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
Flowtype support #7722
Comments
Could your create a PR? Thanks. |
I think we won't support it. Typescript is enough and better. |
"Better" you might think it is, not everybody shares that opinion. But that's not even the point. Nobody is asking you to move to javascript + Flow. You can and should, of course, keep going with Typescript. |
That is always welcome if someone could help us to make it happen. Feel free to propose a PR for it. I just say this is not our first priority now. |
+1 |
Did someone manage to generate the libdefs files? |
https://github.com/rj254/antd-flow-types Someone wrote some flow types. Can someone validate these? |
It seems like there are Flow type definitions in the official https://github.com/flow-typed/flow-typed/tree/master/definitions/npm/antd_v3.x.x/flow_v0.104.x- I have no idea how well they work (have not tried them). |
What problem does this feature solve?
Provide Flow type checking and code suggestions.
What does the proposed API look like?
We just need a libdef like described here. https://flow.org/en/docs/libdefs/
It shouldn't be very complicated to achieve since it can probably be generated from Typescript definitions.
The text was updated successfully, but these errors were encountered: