-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
'type' of undefined when PropTypes.shape on functional component #1471
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
Labels
Comments
Is the error fixed if you add |
oh!! thank you. |
I've never seen |
+1 to don't fail on this |
Yup... this got me too. |
Once the bug is fixed... perhaps a new rule for no-undefined-shape? |
Fixed in #1504. |
Closed
This was referenced Jan 26, 2018
This was referenced Sep 22, 2018
This was referenced Sep 4, 2024
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
only happened on the functional component, class component it is work.
version
error message
sample code
The text was updated successfully, but these errors were encountered: