Skip to content

Misspelled 'this.' property accesses don't trigger spelling correction fixes #16744

Closed
@DanielRosenwasser

Description

@DanielRosenwasser
class Thing {
    state: any;
    constructor(state) {
        this.state = state;
    }
    doStuff() {
        this.stat/**/;
    }
}

image

Expected: A quick fix to correct the spelling to 'state'.

Metadata

Metadata

Assignees

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