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

10 lines
No EOL
300 B
Text

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