TypeScript/tests/baselines/reference/incorrectClassOverloadChain.errors.txt
2014-09-12 13:35:07 -07:00

11 lines
430 B
Plaintext

tests/cases/compiler/incorrectClassOverloadChain.ts(3,5): error TS2391: Function implementation is missing or not immediately following the declaration.
==== tests/cases/compiler/incorrectClassOverloadChain.ts (1 errors) ====
class C {
foo(): string;
foo(x): number;
~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
x = 1;
}