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

8 lines
223 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/incorrectClassOverloadChain.ts (1 errors) ====
class C {
foo(): string;
foo(x): number;
~~~~~~~~~~~~~~~
!!! Function implementation expected.
x = 1;
}