TypeScript/tests/baselines/reference/implementClausePrecedingExtends.errors.txt

10 lines
423 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/implementClausePrecedingExtends.ts (3 errors) ====
class C { foo: number }
class D implements C extends C { }
~~~~~~~
!!! error TS1005: '{' expected.
2014-07-13 01:04:16 +02:00
~
!!! error TS1005: ';' expected.
2014-07-13 01:04:16 +02:00
~
!!! error TS2421: Class 'D' incorrectly implements interface 'C':
!!! error TS2421: Property 'foo' is missing in type 'D'.