Closed ps73 closed 10 months ago
Hmm. I can't reproduce and I auto import in VSCode (into other apps) all the time. Can I quickly ask for your VSCode and TypeScript versions? Also maybe your tsconfig.
Actually now I can repro. The heuristic here is surprising but let me try and figure it out.
OK, this might be better
OK, try v4.5.6 and restart your TS server. Let me know how it goes!
Thanks for your quick fix. Now it works like expected 👍
Describe the bug
It seems that the auto import for this package inside a TypeScript Repo in VSCode is not working correctly.
Instead of importing the real modules it always tries to import it from the type definitions.
Clicking this menu element:
leads to this import:
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
No response
Expected behavior
No response
Screenshots or Videos
No response
Platform
Additional context
No response