TypeScript/tests/baselines/reference/classWithOverloadImplementationOfWrongName.errors.txt
2014-07-30 16:27:13 -07:00

8 lines
245 B
Plaintext

==== tests/cases/compiler/classWithOverloadImplementationOfWrongName.ts (1 errors) ====
class C {
foo(): string;
foo(x): number;
bar(x): any { }
~~~
!!! Function implementation name must be 'foo'.
}