Skip to content

Nested node_modules/@types in linked projects causes duplicated definitions. #11994

Closed
@ejmarino

Description

@ejmarino

TypeScript Version: 2.0.6

I'm having two projects. One depends on the other, so I have it linked (using jspm) in occasions when I need to see fast changes when I developing.
The problem occurs with some types used by both projects: jquery for example. TSC complains about duplicates because it is finding jquery on @types/jquery inside the nested project and also finding it on @types/jquery on the main project.

I don't know what is the best way to resolve this problem, my i think it's something not desirable.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions