You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Props are extending an interface that is imported AND another type is present with the name 'Prop' in it, react/proptypes is throwing a false positive.
The text was updated successfully, but these errors were encountered:
aximusnl
changed the title
'x' is missing in props validation
'x' is missing in props validation when extending interface and another type present with 'Prop' in it's name
Nov 8, 2020
When Props are extending an interface that is imported AND another type is present with the name 'Prop' in it, react/proptypes is throwing a false positive.
How to reproduce
This is OK
This shows an error: 'foo' is missing in props validation
PropsBase.ts
MyComponent.tsx
The text was updated successfully, but these errors were encountered: