Skip to content

Completion suggestion is still present for object literals with get accessors of the same name #10108

Closed
@DanielRosenwasser

Description

@DanielRosenwasser
interface Foo { hello: string; }

let x: Foo = {
    get hello() { return "hi" },
    /*$*/
}

Expected: Completion list at /*$*/ is empty.
Actual: Completion list contains hello.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueGood 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