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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions