12 lines
201 B
Plaintext
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[]
|
|
|