Go-to-definition doesn't work on non-module packages #44497
Labels
Bug
A bug in TypeScript
Domain: Symbol Navigation
Relates to go-to-definition, find-all-references, highlighting/occurrences.
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Help Wanted
You can do this
Milestone
If you have
@types/node
installed, you might naively try to go-to-definition onnode
in the following code if you're trying to understand things better.Similarly to what used to happen with go-to-definition on a non-module file (#41861), we don't find a corresponding symbol for the module and just give up.
However, we were able to get this partially working for relative source files in #42539. We should be able to still make this work for package files as well.
The text was updated successfully, but these errors were encountered: