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

9 lines
374 B
Plaintext
Raw Normal View History

tests/cases/compiler/functionOverloadImplementationOfWrongName.ts(3,10): error TS2389: Function implementation name must be 'foo'.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/functionOverloadImplementationOfWrongName.ts (1 errors) ====
function foo(x);
function foo(x, y);
2014-07-31 01:27:13 +02:00
function bar() { }
~~~
!!! error TS2389: Function implementation name must be 'foo'.