mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
280 B
Plaintext
11 lines
280 B
Plaintext
//// [tests/cases/compiler/functionCall2.ts] ////
|
|
|
|
=== functionCall2.ts ===
|
|
function foo():number{return 1};
|
|
>foo : Symbol(foo, Decl(functionCall2.ts, 0, 0))
|
|
|
|
var x = foo();
|
|
>x : Symbol(x, Decl(functionCall2.ts, 1, 3))
|
|
>foo : Symbol(foo, Decl(functionCall2.ts, 0, 0))
|
|
|