TypeScript/tests/baselines/reference/functionOverloads1.errors.txt
2014-09-11 16:11:08 -07:00

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" }