Skip to content

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

Closed

Description

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.

Activity

  1. added
    QuestionAn issue which isn't directly actionable in code
    and removed
    Needs InvestigationThis issue needs a team member to investigate its status.
    on Sep 20, 2019
  2. typescript-bot commented on Sep 24, 2019

    @typescript-bot
    Contributor

    This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow.

  3. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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