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
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