TypeScript Version: master
Search Terms: visual studio declaration source map to go to definition
Code
foo.ts
bar.d.ts
bar.d.ts.map
(sourcemap saying "go to ../src/bar")
../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 DocumentItems, but there is no Document for bar.ts in foo.ts's project
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
DocumentItems, but there is noDocumentforbar.tsinfoo.ts's project