-
Notifications
You must be signed in to change notification settings - Fork 2.8k
no-unused-prop-types crashes when props type is intersection with union #1806
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
Probably unrelated, but import * as React is always incorrect - it’s only |
Yes, I am using flow, and that is indeed unrelated as it crashes no matter if this line present or not. |
This was referenced Jun 28, 2018
This was referenced Sep 22, 2018
Closed
This was referenced Nov 4, 2018
This was referenced Nov 23, 2018
1 task
1 task
1 task
This was referenced Dec 21, 2018
This was referenced Jan 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A code like this:
will lead to:
It's worth to mention that
type Props = ({} | {}) & {};
won't crash, buttype Props = (string) & {}
will fail with:Plugin version is
7.9.1
.The text was updated successfully, but these errors were encountered: