Skip to content

Provide quick fix for declaring missing properties #13071

Closed
@DanielRosenwasser

Description

@DanielRosenwasser
class C {
    constructor() {
        this.foo = 10;
    }
}

this.foo doesn't exist, but we should provide a quick-fix to declare it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.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