Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.62.3
- OS Version: Darwin arm64 20.6.0
Steps to Reproduce:
- Have a function that is exported from a file, call it './baseSchemas.ts'
- Have an index file that exports the contents of that file,
export * as baseSchemas from './baseSchemas'
- Try to import that function in a file, see something like this:
Expectation is the relative should be preferred over the index. When importing or default to index, it can cause a circular dependency if index is imported, which then index imports the same file.