mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Replace more 'verify.rangeAfterCodeFix' with 'verify.codeFix' (#18800)
This commit is contained in:
@@ -3661,7 +3661,7 @@
|
||||
"category": "Message",
|
||||
"code": 90013
|
||||
},
|
||||
"Change {0} to {1}.": {
|
||||
"Change '{0}' to '{1}'.": {
|
||||
"category": "Message",
|
||||
"code": 90014
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user