2014-09-12 22:35:07 +02:00
|
|
|
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();
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! 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" }
|