We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a72a9aa + c08e1fc commit 35a6797Copy full SHA for 35a6797
src/compiler/checker.ts
@@ -20700,11 +20700,6 @@ namespace ts {
20700
continue;
20701
}
20702
20703
- if ((baseDeclarationFlags & ModifierFlags.Static) !== (derivedDeclarationFlags & ModifierFlags.Static)) {
20704
- // value of 'static' is not the same for properties - not override, skip it
20705
- continue;
20706
- }
20707
-
20708
if (isMethodLike(base) && isMethodLike(derived) || base.flags & SymbolFlags.PropertyOrAccessor && derived.flags & SymbolFlags.PropertyOrAccessor) {
20709
// method is overridden with method or property/accessor is overridden with property/accessor - correct case
20710
0 commit comments