Skip to content

yarn 2 warns that typescript dep is missing; can it be added as peerDependency? #245

@cspotcode

Description

@cspotcode

yarn 2 has a more rigorous module resolution algorithm that throws warnings when a module tries to load a dependency it does not declare. In this case, react-docgen-typescript tries to import typescript without declaring a peerDependency. Can this be added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions