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
The package.json currently specifies version 15.6.2 of prop-types.
The file propTypes.js refers to the function PropTypes.elementType, which was added in version 15.7.0 of prop-types. (See here.) This causes some type-checking to wrongly throw an NPE in development.
What's the expected behavior?
No NPE.
package.json should be updated to refer to version 15.7.2 of prop-types
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
A bug
What's the current behavior?
The
package.json
currently specifies version 15.6.2 ofprop-types
.The file
propTypes.js
refers to the functionPropTypes.elementType
, which was added in version 15.7.0 ofprop-types
. (See here.) This causes some type-checking to wrongly throw an NPE in development.What's the expected behavior?
No NPE.
package.json
should be updated to refer to version 15.7.2 ofprop-types
The text was updated successfully, but these errors were encountered: