Skip to content

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Fix AvailableA PR has been opened for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions