Skip to content

'Infer function return type' offered in preceding trivia #55937

@DanielRosenwasser

Description

@DanielRosenwasser
let x = 10;$

function func() {
    return 10;
}

Request quick fixes at the cursor $

Expected: "infer function return type" is not offered
Actual: It is offered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Good First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions