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