2014-10-28 08:28:59 +01:00
tests/cases/compiler/overridingPrivateStaticMembers.ts(5,7): error TS2417: Class static side 'typeof Derived2' incorrectly extends base class static side 'typeof Base2'.
2014-09-18 02:05:45 +02:00
Types have separate declarations of a private property 'y'.
2014-09-12 22:35:07 +02:00
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/overridingPrivateStaticMembers.ts (1 errors) ====
class Base2 {
private static y: { foo: string };
}
class Derived2 extends Base2 {
~~~~~~~~
2014-10-28 08:28:59 +01:00
!!! 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'.
2014-07-13 01:04:16 +02:00
private static y: { foo: string; bar: string; };
}