Make adding overrides an preferred quick fix
This commit is contained in:
parent
9064c909d7
commit
a4fdb2c3ad
2 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,7 @@ const preferredFixes = new Map<string, { readonly priority: number, readonly the
|
|||
[fixNames.forgottenThisPropertyAccess, { priority: 2 }],
|
||||
[fixNames.spelling, { priority: 0 }],
|
||||
[fixNames.addMissingAwait, { priority: 2 }],
|
||||
[fixNames.addMissingOverride, { priority: 2 }],
|
||||
[fixNames.fixImport, { priority: 1, thereCanOnlyBeOne: true }],
|
||||
]);
|
||||
|
||||
|
|
|
@ -15,3 +15,4 @@ export const forgottenThisPropertyAccess = 'forgottenThisPropertyAccess';
|
|||
export const spelling = 'spelling';
|
||||
export const fixImport = 'import';
|
||||
export const addMissingAwait = 'addMissingAwait';
|
||||
export const addMissingOverride = 'fixOverrideModifier';
|
||||
|
|
Loading…
Reference in a new issue