diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-24 20:49:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 20:49:44 -0400 |
commit | c4f7b2ac0095293d01b77c0ad15aaeaf148e1845 (patch) | |
tree | 74de7e8e52a04494235b6ed8d5ca166c698355bf /cli/tsc | |
parent | a4f59c776189dbd99a9bc6ca36e9d36aee4f56a2 (diff) |
fix(check): ignore noImplicitOverrides in remote modules (#25854)
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/diagnostics.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tsc/diagnostics.rs b/cli/tsc/diagnostics.rs index ac65973d8..b0394ec17 100644 --- a/cli/tsc/diagnostics.rs +++ b/cli/tsc/diagnostics.rs @@ -140,7 +140,9 @@ impl Diagnostic { pub fn include_when_remote(&self) -> bool { /// TS6133: value is declared but its value is never read (noUnusedParameters and noUnusedLocals) const TS6133: u64 = 6133; - self.code != TS6133 + /// TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'X'. + const TS4114: u64 = 4114; + !matches!(self.code, TS6133 | TS4114) } fn fmt_category_and_code(&self, f: &mut fmt::Formatter) -> fmt::Result { |