-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Matter what I do, auto import ONLY suggests dist paths... #39928
Comments
Can confirm now, it appears using I have created a repro example where this is happening: https://github.com/bradennapier/typescript-auto-import-bug I have also tried typescript@beta as FYI |
Same issue here, it makes references build a bit painful. |
Duplicate of #38856, although this is a better repro. Thanks for the example repo; that’s always helpful. |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
TS Template added by @mjbvz
TypeScript Version: 4.0.0
Search Terms
Version: 1.48.0-insider
Commit: 0a7364f
Date: 2020-07-22T05:43:52.797Z
Electron: 9.1.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 20.0.0
Info
This is driving me loony! I can not figure out why this is happening and I have spent at least 6 hours now messing with every single setting I can find or try. I have recently moved to project references, but I do not believe this started until after - I could be wrong? How can I debug where these auto imports are from and why they are resolving here?
dist
folder, not in the correct place while typing:dist
path no matter what I do:No matter what I do, I can not exclude dist, I have added every form of
dist
I can think of in the exclude path of thetsconfig.json
,tsconfig.eslint.json
,tsconfig.base.json
, and all others that exist. I can not figure out why it is included.I made absolutely certain nothing ever imports from the dist folder in the
src
foldertsconfig.json
src/tsconfig.base.json
src/services/{name}/tsconfig.json
For a service, they extend the base.json
Steps to Reproduce:
My only thought is that it somehow has to do with the fact outDir is set to dist for all of them so it generates all the dist in the dist dir?
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: