Changed reportOverlappingOverload to be an error in strict mode.

This commit is contained in:
Eric Traut 2021-03-05 09:23:23 -07:00
parent acdefc550c
commit adabd54bf8
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ The following table lists the default severity levels for each diagnostic rule w
| reportConstantRedefinition | "none" | "none" | "error" |
| reportIncompatibleMethodOverride | "none" | "none" | "error" |
| reportIncompatibleVariableOverride | "none" | "none" | "error" |
| reportOverlappingOverload | "none" | "none" | "none" |
| reportOverlappingOverload | "none" | "none" | "error" |
| reportInvalidStringEscapeSequence | "none" | "warning" | "error" |
| reportUnknownParameterType | "none" | "none" | "error" |
| reportUnknownArgumentType | "none" | "none" | "error" |

View File

@ -486,7 +486,7 @@ export function getStrictDiagnosticRuleSet(): DiagnosticRuleSet {
reportConstantRedefinition: 'error',
reportIncompatibleMethodOverride: 'error',
reportIncompatibleVariableOverride: 'error',
reportOverlappingOverload: 'none',
reportOverlappingOverload: 'error',
reportInvalidStringEscapeSequence: 'error',
reportUnknownParameterType: 'error',
reportUnknownArgumentType: 'error',