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

10 lines
369 B
Plaintext
Raw Normal View History

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