Skip to content

Go-to-definition does not work on /// <reference lib="..." /> directives #64086

Description

/// <reference lib="[|es2025|]" />

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.

Metadata

Metadata

标签

BugA bug in TypeScriptDomain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.

Type

No type

项目

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions