You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working in a monorepo and was trying to use tsconfig paths instead of npm link to have various packages depend on each other and it isn't working. Based on @andrewbranch's comment in #49160 (comment)
all any package author has to do is put their .d.ts files in the same directories as their .js files,
it seems like this should work and I'm getting a confusing error from --traceResolution about it not working.
🔎 Search Terms
baseUrl paths resolution
🕗 Version & Regression Information
Version 4.7.4
Version 4.6.4
Also happens with typescript@next
This is the behavior in every version I tried, and I reviewed the FAQ for entries about module resolution
Bug Report
I'm working in a monorepo and was trying to use tsconfig paths instead of npm link to have various packages depend on each other and it isn't working. Based on @andrewbranch's comment in #49160 (comment)
it seems like this should work and I'm getting a confusing error from --traceResolution about it not working.
🔎 Search Terms
baseUrl paths resolution
🕗 Version & Regression Information
Version 4.7.4
Version 4.6.4
Also happens with typescript@next
💻 Code
Given https://github.com/kwasimensah/ubiquitous-winner
Run
🙁 Actual behavior
You will see both
🙂 Expected behavior
The command is successful and a's types are found. Or a clearer error that doesn't make it seem like module resolution was successful
The text was updated successfully, but these errors were encountered: