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

8 lines
329 B
Plaintext

==== tests/cases/compiler/functionOverloadImplementationOfWrongName2.ts (2 errors) ====
function foo(x);
function bar() { }
~~~
!!! Function implementation name must be 'foo'.
function foo(x, y);
~~~
!!! Function implementation is missing or not immediately following the declaration.