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] propTypes: add VFC to react generic param map #3246

Merged
merged 1 commit into from Mar 16, 2022

Commits on Mar 16, 2022

  1. [Fix] propTypes: add VFC to react generic param map

    In d9531c3, we missed adding VFC to genericTypeParamIndexWherePropsArePresent in addition to allowedGenericTypes.
    
    This adds some failing tests and fixes the issue.
    
    Fixes jsx-eslint#3230
    dlech authored and ljharb committed Mar 16, 2022
    Copy the full SHA
    37b4f8e View commit details
    Browse the repository at this point in the history