10 lines
314 B
Text
10 lines
314 B
Text
=== tests/cases/compiler/functionCall2.ts ===
|
|
function foo():number{return 1};
|
|
>foo : () => number, Symbol(foo, Decl(functionCall2.ts, 0, 0))
|
|
>1 : number
|
|
|
|
var x = foo();
|
|
>x : number, Symbol(x, Decl(functionCall2.ts, 1, 3))
|
|
>foo() : number
|
|
>foo : () => number, Symbol(foo, Decl(functionCall2.ts, 0, 0))
|
|
|