Mark addMissingAwait
as a preferred fix
This commit is contained in:
parent
d4b3a7a22f
commit
049e4ca16d
1 changed files with 1 additions and 0 deletions
|
@ -314,6 +314,7 @@ const preferredFixes = new Set([
|
|||
'forgottenThisPropertyAccess',
|
||||
'spelling',
|
||||
'unusedIdentifier',
|
||||
'addMissingAwait',
|
||||
]);
|
||||
function isPreferredFix(tsAction: Proto.CodeFixAction): boolean {
|
||||
return preferredFixes.has(tsAction.fixName);
|
||||
|
|
Loading…
Reference in a new issue