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

9 lines
404 B
Plaintext
Raw Normal View History

tests/cases/compiler/functionOverloads1.ts(1,10): error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-31 01:27:13 +02:00
==== tests/cases/compiler/functionOverloads1.ts (1 errors) ====
function foo();
~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
2014-07-31 01:27:13 +02:00
1+1;
function foo():string { return "a" }