14 lines
274 B
Text
14 lines
274 B
Text
=== tests/cases/compiler/functionCall4.ts ===
|
|
function foo():any{return ""};
|
|
>foo : () => any
|
|
>"" : string
|
|
|
|
function bar():()=>any{return foo};
|
|
>bar : () => () => any
|
|
>foo : () => any
|
|
|
|
var x = bar();
|
|
>x : () => any
|
|
>bar() : () => any
|
|
>bar : () => () => any
|
|
|