TypeScript/tests/baselines/reference/functionCall1.types
2015-04-13 14:29:37 -07:00

11 lines
300 B
Plaintext

=== tests/cases/compiler/functionCall1.ts ===
function foo():any{return ""};
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))
>"" : string
var x = foo();
>x : any, Symbol(x, Decl(functionCall1.ts, 1, 3))
>foo() : any
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))