TypeScript/tests/baselines/reference/functionCall3.types
2014-10-13 06:56:58 -07:00

11 lines
188 B
Plaintext

=== tests/cases/compiler/functionCall3.ts ===
function foo():any[]{return [1];}
>foo : () => any[]
>[1] : number[]
var x = foo();
>x : any[]
>foo() : any[]
>foo : () => any[]