6 lines
238 B
Plaintext
6 lines
238 B
Plaintext
==== tests/cases/compiler/functionOverloadImplementationOfWrongName.ts (1 errors) ====
|
|
function foo(x);
|
|
function foo(x, y);
|
|
function bar() { }
|
|
~~~
|
|
!!! error TS2389: Function implementation name must be 'foo'. |