Files
2025-02-26 14:53:49 -08:00

15 lines
420 B
Plaintext

//// [tests/cases/compiler/functionCall4.ts] ////
=== functionCall4.ts ===
function foo():any{return ""};
>foo : Symbol(foo, Decl(functionCall4.ts, 0, 0))
function bar():()=>any{return foo};
>bar : Symbol(bar, Decl(functionCall4.ts, 0, 30))
>foo : Symbol(foo, Decl(functionCall4.ts, 0, 0))
var x = bar();
>x : Symbol(x, Decl(functionCall4.ts, 2, 3))
>bar : Symbol(bar, Decl(functionCall4.ts, 0, 30))