TypeScript/tests/baselines/reference/overridingPrivateStaticMembers.errors.txt
Daniel Rosenwasser 6e77e2e810 Removed colons from diagnostic messages.
Also got rid of the 'terminalMessages' concept.
2014-10-28 00:48:58 -07:00

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; };
}