Skip to content

Incorrect inferred return type (?) #75

@MariaSolOs

Description

@MariaSolOs

Notice how inlay hints correctly show how the inferred return type is string, which contradicts the diagnostic.

This doesn't happen in VS Code.

image

If you want to investigate @pmizio, the repro is opening this file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions