10 lines
369 B
Plaintext
10 lines
369 B
Plaintext
|
==== 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.
|