Skip to content

Improve completions at x < (type arguments or less than) #23631

Closed
@ghost

Description

TypeScript Version: master

Code

x < /**/

Expected behavior:

If x is a number or string, get completions for values.
If x is a function, get completions for types.

Actual behavior:

Get completions for both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: Signature HelpInformation in editor tooltips when invoking a function callFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions