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

12 lines
656 B
Text
Raw Normal View History

tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(3,18): error TS1133: Type reference expected.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(3,20): error TS1005: ';' expected.
==== tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts (2 errors) ====
2014-07-15 01:47:50 +02:00
class C2 extends { foo: string; } { } // error
class C6 extends []{ } // error
~
!!! error TS1133: Type reference expected.
2014-07-15 01:47:50 +02:00
~
!!! error TS1005: ';' expected.