TypeScript/tests/baselines/reference/incorrectClassOverloadChain.errors.txt
2014-09-11 16:11:08 -07:00

8 lines
272 B
Plaintext

==== 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;
}