TypeScript/tests/baselines/reference/functionCall1.types
2015-04-15 16:44:20 -07:00

11 lines
173 B
Plaintext

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