d.ts type imports are not resolved correctly in dependencies #40581
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
TypeScript Version: 4.1.0-dev.20200915
Search Terms:
path module resolution
Code
Please check this repo: https://github.com/dkjii-g/tsc-ref-bug
Check the README for bugs/instructions.
Expected behavior:
Actual behavior:
Typescript tries to import repo2's modules from repo1's project.
This prevents the compiler from finding the type definition in dependencies.
Related Issues: #38111 #39117 (not sure)
The text was updated successfully, but these errors were encountered: