mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-13 01:33:08 -05:00
Replace more 'verify.rangeAfterCodeFix' with 'verify.codeFix' (#18800)
This commit is contained in:
@@ -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