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.

Activity

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

    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