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

12 lines
201 B
Plaintext

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