We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeScript Version: master
Search Terms: visual studio declaration source map to go to definition
Code
foo.ts
bar;
bar.d.ts
declare var bar;
bar.d.ts.map
(sourcemap saying "go to ../src/bar")
../src/bar.ts
var bar;
Expected behavior: Goes to the def
Actual behavior: Cannot navigate to symbol under caret
Playground Link: N/A
Related Issues: #22658
Root cause here is that we are eagerly deserializing the references into DocumentItems, but there is no Document for bar.ts in foo.ts's project
DocumentItem
Document
bar.ts
The text was updated successfully, but these errors were encountered:
Currently mitigated by telling VS about the .d.ts file and providing the .ts location in an alternate field
Sorry, something went wrong.
RyanCavanaugh
No branches or pull requests
TypeScript Version: master
Search Terms: visual studio declaration source map to go to definition
Code
foo.ts
bar.d.ts
bar.d.ts.map
../src/bar.ts
Expected behavior: Goes to the def
Actual behavior: Cannot navigate to symbol under caret
Playground Link: N/A
Related Issues: #22658
Root cause here is that we are eagerly deserializing the references into
DocumentItem
s, but there is noDocument
forbar.ts
infoo.ts
's projectThe text was updated successfully, but these errors were encountered: