6 lines
254 B
Plaintext
6 lines
254 B
Plaintext
==== tests/cases/compiler/functionOverloads1.ts (1 errors) ====
|
|
function foo();
|
|
~~~
|
|
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
|
|
1+1;
|
|
function foo():string { return "a" } |