Skip to content

Fix auto-imports from auto type acquisition definitions #33766

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

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

andrewbranch
Copy link
Member

Fixes #33289

@@ -220,6 +220,10 @@ namespace Harness.LanguageService {
return !!this.typesRegistry && this.typesRegistry.has(name);
}

getGlobalTypingsCacheLocation() {
return "/Library/Caches/typescript";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyone have a less kludgy idea for how to test this? I looked into the server fourslash tests, but it would ultimately require the same kind of hard-coded hack, just buried deeper in the infrastructure.

@andrewbranch andrewbranch merged commit 454a3a0 into microsoft:master Oct 17, 2019
@andrewbranch andrewbranch deleted the bug/33289 branch October 17, 2019 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global completion / Auto import for JavaScript symbols from modules without typings included.
2 participants