Skip to content

'Use element access' quick fix doesn't respect quote style #41787

Closed

Description

declare let x: { [x: string]: number };

x.yadda/**/;

Specify a quote style of 'single' and apply the quick fix at /**/.

Currently this is changed to

declare let x: { [x: string]: number };

x["yadda"];

but should switch to

declare let x: { [x: string]: number };

x['yadda'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDomain: LS: Quick FixesFix Available

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions