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.
1 parent c39a683 commit c08e1fcCopy full SHA for c08e1fc
src/compiler/checker.ts
@@ -20678,11 +20678,6 @@ namespace ts {
20678
continue;
20679
}
20680
20681
- if ((baseDeclarationFlags & ModifierFlags.Static) !== (derivedDeclarationFlags & ModifierFlags.Static)) {
20682
- // value of 'static' is not the same for properties - not override, skip it
20683
- continue;
20684
- }
20685
-
20686
if (isMethodLike(base) && isMethodLike(derived) || base.flags & SymbolFlags.PropertyOrAccessor && derived.flags & SymbolFlags.PropertyOrAccessor) {
20687
// method is overridden with method or property/accessor is overridden with property/accessor - correct case
20688
0 commit comments