Skip to content

Conversation

@IllusionMH
Copy link
Contributor

Fixes #27338

This fix uses safe variant of some implementation, that will skip cases where resolvedModuleSymbol.declarations is undefined. After applying this fix and using built TS version in VS Code I can see adequate suggestions when I call for completion info.

This fix uses similar approach as code few lined below so I'm not sure if I need to add unit tests here. If unit tests are must have in this case - would be grateful for suggest how to achieve undefined declarations.

@RyanCavanaugh RyanCavanaugh merged commit c04faa1 into microsoft:master Oct 2, 2018
@RyanCavanaugh
Copy link
Member

Thanks!

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to get variable suggestions in VS Code, error in TS Server logs

2 participants