Skip to content

'infer' type parameters declarations aren't printed in quick info. #21836

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

Found by @weswigham

type Alias<T> = T extends (infer U)[] ? U : never;

Request quick info on Alias.

Expected: type Alias<T> = T extends (infer U)[] ? U : never

Actual: type Alias<T> = T extends U[] ? U : never

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Domain: Quick Infoe.g. hover text, tool-tips, and tooltips.Effort: DifficultGood luck.FixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions