9 lines
362 B
Plaintext
9 lines
362 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration14.ts (2 errors) ====
|
|
class C {
|
|
foo();
|
|
~~~
|
|
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
|
|
constructor();
|
|
~~~~~~~~~~~~~~
|
|
!!! error TS2390: Constructor implementation is missing.
|
|
} |