Replace more 'verify.rangeAfterCodeFix' with 'verify.codeFix' (#18800)

This commit is contained in:
Andy
2017-10-10 11:28:05 -07:00
committed by GitHub
parent b839e17e17
commit 927ffefcf4
95 changed files with 545 additions and 224 deletions

View File

@@ -3661,7 +3661,7 @@
"category": "Message",
"code": 90013
},
"Change {0} to {1}.": {
"Change '{0}' to '{1}'.": {
"category": "Message",
"code": 90014
},

View File

@@ -2381,7 +2381,7 @@ Actual: ${stringify(fullActual)}`);
}));
return ts.flatMap(ts.deduplicate(diagnosticsForCodeFix, ts.equalOwnProperties), diagnostic => {
if (errorCode && errorCode !== diagnostic.code) {
if (errorCode !== undefined && errorCode !== diagnostic.code) {
return;
}