Skip to content

Conversation

@dlech
Copy link
Contributor

@dlech dlech commented Mar 16, 2022

In d9531c3, we missed adding VFC to genericTypeParamIndexWherePropsArePresent in addition to allowedGenericTypes.

This adds some failing tests and fixes the issue.

Fixes: #3230

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
@ljharb ljharb merged commit 37b4f8e into jsx-eslint:master Mar 16, 2022
@ljharb
Copy link
Member

ljharb commented Mar 16, 2022

oops, merged before tests finished, but i'm confident :-)

@dlech dlech deleted the vfc branch March 16, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

incorrect prop-types error for VFC

2 participants