TypeScript/tests/baselines/reference/functionOverloads1.errors.txt
2014-09-12 13:35:07 -07:00

9 lines
404 B
Plaintext

tests/cases/compiler/functionOverloads1.ts(1,10): error TS2391: Function implementation is missing or not immediately following the declaration.
==== 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" }