Fix typo in quickFix.ts and ensure correct grammar in references-view README

This commit is contained in:
Ebrahim
2025-05-13 14:59:00 +03:00
parent 7d2075b39a
commit 866c2ebb9d
2 changed files with 7 additions and 7 deletions

View File

@@ -450,7 +450,7 @@ class TypeScriptQuickFixProvider implements vscode.CodeActionProvider<VsCodeCode
return results;
}
// Make sure there are multiple diagnostics of the same type in the file
// Make sure there are multiple different diagnostics of the same type in the file
if (!this.diagnosticsManager.getDiagnostics(resource).some(x => {
if (x === diagnostic) {
return false;
@@ -479,7 +479,7 @@ class TypeScriptQuickFixProvider implements vscode.CodeActionProvider<VsCodeCode
}
}
// Some fix all actions can actually fix multiple differnt diagnostics. Make sure we still show the fix all action
// Some fix all actions can actually fix multiple different diagnostics. Make sure we still show the fix all action
// in such cases
const fixAllErrorCodes = new Map<number, number>([
// Missing async