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