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