mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
Ignore related info in diagnostic deduplication (#50309)
* Ignore related info in diagnostic deduplication * Add another test
This commit is contained in:
@@ -3944,7 +3944,7 @@ namespace ts {
|
||||
diagnostics = nonFileDiagnostics;
|
||||
}
|
||||
|
||||
insertSorted(diagnostics, diagnostic, compareDiagnostics);
|
||||
insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation);
|
||||
}
|
||||
|
||||
function getGlobalDiagnostics(): Diagnostic[] {
|
||||
|
||||
Reference in New Issue
Block a user