-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
React$Element<any> or React.Element<*> #4130
Comments
|
I'd love to see this documented too. How to type a React Element is conspicuously missing from the Flow + React page in the docs. I've seen |
The updated doc now explains the difference between
These will all work
This doesn't work anymore
Doc: https://flow.org/en/docs/react/types/#toc-react-element |
Excellent, thanks @youngzhaosignifyd. I think we can probably consider this issue closed now @steida |
I would love to know final official recommendation how we should type element. Thank you.
The text was updated successfully, but these errors were encountered: