microsoft / microsoft/TypeScript
Go-to-definition does not work on `/// <reference lib="..." />` directives
Open
Bug
Domain: LS: Symbol Navigation
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
```
///
```
In TypeScript 6, go to definition works on any position in the string and jumps you to the appropriate `lib.es2025.d.ts`.
In TypeScript 7, this no longer works.
I assume we have a test that was disabled at some point. If that exists, we should bring it back.
Contributor guide
Assessment
This issue has not been assessed yet.