Skip to content

Conversation

@andrewbranch
Copy link
Member

Fixes a duplicate auto-import completions bug I noticed while working on #44295, caused by differing compiler options causing the AutoImportProviderProject not to share source files with its host Project.

It looks like those options (types, lib, and noLib) are actually misclassified as affecting module resolution, and @sheetalkamat is opening a PR to fix that (extracting work from #41004). Once that’s fixed, the bug will be fixed, and I can revert the part of this PR that is actually a substantive behavior change. The primary value of this PR is structuring the config in such a way that the overriding options can be tested against sourceFileAffectingCompilerOptions and adding that test.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 26, 2021
@andrewbranch andrewbranch marked this pull request as ready for review May 26, 2021 23:23
@andrewbranch andrewbranch merged commit b1eaf3e into microsoft:master May 26, 2021
@andrewbranch andrewbranch deleted the bug/duplicate-auto-imports-sometimes branch May 26, 2021 23:47
@DanielRosenwasser
Copy link
Member

Did this PR mean to reference something other than #44295?

@andrewbranch
Copy link
Member Author

Yes, but I no longer recall what 🤔

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants