8 lines
248 B
Text
8 lines
248 B
Text
=== tests/cases/compiler/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))
|
|
|