-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
no-typos doesn't detect invalid PropTypes in static class fields #1677
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
This was referenced Sep 22, 2018
Closed
1 task
This was referenced Dec 21, 2018
This was referenced Jan 2, 2019
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've observed this with versions 7.5.1 & 7.6.1. The docs indicate that the following should cause this warning:
Typo in declared prop type: typo
however it doesn't.However, when you don't use static class fields, it produces the expected warning:
The text was updated successfully, but these errors were encountered: