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
{{ message }}
Repository navigation
Wrong import suggestions for relative files #26047
For some unknown reason, I'm getting wrong suggested imports in a certain scenario. I'm working in a mono repo with yarn workspaces. I have a package that depends on another package from the monorepo. The package I'm depending on (package-a) has a export from the main file. In the other package (package-b) I have a file that imports from package-a. But then when I'm trying to do an import from two relative files in package-b I'm getting a wrong import (like shown). But when I remove the import from package-a from the file in package-b I'm getting the correct import suggestion.
TypeScript Version: 3.1.0-dev.20180728
Search Terms:
wrong import suggestion
no relative import suggestion
Activity
netanelgilad commentedon Jul 29, 2018
Duplicate of #26044. I'l add a comment about my scenario there.