6e77e2e810
Also got rid of the 'terminalMessages' concept.
15 lines
706 B
Plaintext
15 lines
706 B
Plaintext
tests/cases/compiler/overridingPrivateStaticMembers.ts(5,7): error TS2417: Class static side 'typeof Derived2' incorrectly extends base class static side 'typeof Base2'.
|
|
Types have separate declarations of a private property 'y'.
|
|
|
|
|
|
==== tests/cases/compiler/overridingPrivateStaticMembers.ts (1 errors) ====
|
|
class Base2 {
|
|
private static y: { foo: string };
|
|
}
|
|
|
|
class Derived2 extends Base2 {
|
|
~~~~~~~~
|
|
!!! error TS2417: Class static side 'typeof Derived2' incorrectly extends base class static side 'typeof Base2'.
|
|
!!! error TS2417: Types have separate declarations of a private property 'y'.
|
|
private static y: { foo: string; bar: string; };
|
|
} |