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
I am using a React Native project with TypeScript. Because I am using TypeScript, I do not want to be using prop-types. However, npm 7 added back auto-installing peer deps, and will throw errors if a peer dependency is not met/invalid.
I would like to suggest migrating prop-types to an optional dependency, or omitting it entirely to sidestep this issue. I'd be willing to make a PR with whatever decision is made
The text was updated successfully, but these errors were encountered:
I am using a React Native project with TypeScript. Because I am using TypeScript, I do not want to be using
prop-types
. However,npm 7
added back auto-installing peer deps, and will throw errors if a peer dependency is not met/invalid.I would like to suggest migrating
prop-types
to an optional dependency, or omitting it entirely to sidestep this issue. I'd be willing to make a PR with whatever decision is madeThe text was updated successfully, but these errors were encountered: