-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Missing references by tsserver when using export * as #39006
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
Labels
Milestone
Comments
Bump on this. This makes it really annoying to use the |
sheetalkamat
added a commit
that referenced
this issue
Jul 8, 2020
sheetalkamat
added a commit
that referenced
this issue
Jul 8, 2020
Thank you for your work @sheetalkamat ! |
Hello @sheetalkamat 👋 However, if I try to get the references for |
sheetalkamat
added a commit
that referenced
this issue
Jul 9, 2020
sheetalkamat
added a commit
that referenced
this issue
Jul 9, 2020
* Fixes searches for export * as 'identifier' Fixes #39006 * Fix the context span to export declaration (was incorrectly set to sourceFile in prev commit)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: Tried with 3.8.0, 3.9.5 and
next
Search Terms:
references
export * as
tsserver
Code
Reproduction branch https://github.com/jomi-se/ts-scripting-env/tree/ts-references-export-as/src
Try to get the references (using VSCode or another editor that uses
tsserver
) for thehello
function inleafModule.ts
. It's usage inimporting.ts
is not listed on the result.Tl;dr
Expected behavior:
The usage of
hello
inimporting.ts
(inLeaf.hello()
) should be listed in its referencesActual behavior:
The usage of
hello
inimporting.ts
(inLeaf.hello()
) is not listed. However, usinggo to definition
from this usage does work correctly.Related Issues:
Found this #33017 but it didn't mention
export * as ...
casesThe text was updated successfully, but these errors were encountered: