TypeScript/tests/baselines/reference/functionCall1.types

11 lines
300 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/functionCall1.ts ===
function foo():any{return ""};
2015-04-13 23:01:57 +02:00
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))
2015-04-13 21:36:11 +02:00
>"" : string
2014-08-15 23:33:16 +02:00
var x = foo();
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(functionCall1.ts, 1, 3))
2014-08-15 23:33:16 +02:00
>foo() : any
2015-04-13 23:01:57 +02:00
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))
2014-08-15 23:33:16 +02:00