TypeScript/tests/baselines/reference/functionCall1.types
2016-09-01 14:25:44 -07:00

11 lines
169 B
Plaintext

=== tests/cases/compiler/functionCall1.ts ===
function foo():any{return ""};
>foo : () => any
>"" : ""
var x = foo();
>x : any
>foo() : any
>foo : () => any