Skip to content

Peer dep warning for prop-types #16

@crutchcorn

Description

@crutchcorn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions