Mark addMissingAwait as a preferred fix

This commit is contained in:
Matt Bierner 2019-07-24 23:09:36 -07:00
parent d4b3a7a22f
commit 049e4ca16d

View file

@ -314,6 +314,7 @@ const preferredFixes = new Set([
'forgottenThisPropertyAccess',
'spelling',
'unusedIdentifier',
'addMissingAwait',
]);
function isPreferredFix(tsAction: Proto.CodeFixAction): boolean {
return preferredFixes.has(tsAction.fixName);