Remove check for static from checkKindsOfPropertyMemberOrderrides, which is only called on instance side
This commit is contained in:
parent
c39a683504
commit
c08e1fcc5d
1 changed files with 0 additions and 5 deletions
|
@ -20678,11 +20678,6 @@ namespace ts {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ((baseDeclarationFlags & ModifierFlags.Static) !== (derivedDeclarationFlags & ModifierFlags.Static)) {
|
||||
// value of 'static' is not the same for properties - not override, skip it
|
||||
continue;
|
||||
}
|
||||
|
||||
if (isMethodLike(base) && isMethodLike(derived) || base.flags & SymbolFlags.PropertyOrAccessor && derived.flags & SymbolFlags.PropertyOrAccessor) {
|
||||
// method is overridden with method or property/accessor is overridden with property/accessor - correct case
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue