TypeScript/tests/baselines/reference/classWithOverloadImplementationOfWrongName2.errors.txt
2014-07-31 11:06:42 -07:00

10 lines
345 B
Plaintext

==== tests/cases/compiler/classWithOverloadImplementationOfWrongName2.ts (2 errors) ====
class C {
foo(): string;
bar(x): any { }
~~~
!!! Function implementation name must be 'foo'.
foo(x): number;
~~~
!!! Function implementation is missing or not immediately following the declaration.
}