Skip to content
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

[Fix] prop-types: function in class that returns a component causes false warning in typescript #2843

Merged
merged 1 commit into from Oct 25, 2020

Conversation

SyMind
Copy link
Contributor

@SyMind SyMind commented Oct 25, 2020

Fixes #2784.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, seems reasonable

@ljharb ljharb changed the title fix(react/prop-types): function in class that returns a component causes false warning in typescript [Fix] prop-types: function in class that returns a component causes false warning in typescript Oct 25, 2020
@ljharb ljharb added typescript hacktoberfest-accepted If you're interested in a free shirt, this PR counts towards it. labels Oct 25, 2020
@ljharb ljharb merged commit 5f6350a into jsx-eslint:master Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted If you're interested in a free shirt, this PR counts towards it. typescript
Development

Successfully merging this pull request may close these issues.

Function that returns a component causes false positive unused react/prop-types warning in typescript
2 participants