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

13 lines
568 B
Plaintext
Raw Normal View History

tests/cases/compiler/ClassDeclaration10.ts(2,4): error TS2390: Constructor implementation is missing.
tests/cases/compiler/ClassDeclaration10.ts(3,4): error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/ClassDeclaration10.ts (2 errors) ====
class C {
constructor();
~~~~~~~~~~~~~~
!!! error TS2390: Constructor implementation is missing.
2014-07-13 01:04:16 +02:00
foo();
2014-07-31 01:27:13 +02:00
~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
}