bug: go to definition not working with project references and disableSourceOfProjectReferenceRedirect
#5580
Labels
🐛 bug: unconfirmed
⏳ close if no activity
Will be closed if no activity happens within a few weeks
👻 invalid
Invalid bug report
Provide environment information
Describe the bug
As described in the title, when using project references with
disableSourceOfProjectReferenceRedirect
set totrue
and declaration maps enabled, go to definition stops working. Works fine ifdisableSourceOfProjectReferenceRedirect
is set tofalse
.It seems going to definition just brings you to the closing bracket of the outermost router.
Link to reproduction
https://github.com/relsunkaev/ts-declaration-map-repro
To reproduce
Try going to definition of a router from api client. See where that gets ya.
Additional information
I have a suspicion that this is a typescript bug, but wanted to check with you guys first before submitting an issue there. Our repo has gotten quite large and
disableSourceOfProjectReferenceRedirect
is the difference between waiting 5-10 seconds on every change and instant feedback in VSCode👨👧👦 Contributing
Funding
The text was updated successfully, but these errors were encountered: