TypeScript/tests/baselines/reference/functionCall1.types

10 lines
159 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/functionCall1.ts ===
function foo():any{return ""};
>foo : () => any
var x = foo();
>x : any
>foo() : any
>foo : () => any