Skip to content

Go-to-type definition does not work on aliases to tuple types #63762

Open

Description

export type SpanMapping = [
  virtualStart: number,
  virtualLength: number,
  originalStart: number,
  originalLength: number,
  kind: SpanMapKind,
  features?: SpanMapFeature,
];
export let mapping: SpanMapping;
mapping/**/;

If you request go to type definition at /**/, you will get no result.

The same is not true if SpanMapping is aliased to an anonymous object type.

Activity

  1. added
    Bug
    Domain: LS: Symbol Navigation
    on Aug 19, 2026
  2. added
    Fix Available
    on Aug 19, 2026
  3. removed
    Fix Available
    on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDomain: LS: Symbol Navigation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions