11 lines
300 B
Plaintext
11 lines
300 B
Plaintext
=== tests/cases/compiler/functionCall1.ts ===
|
|
function foo():any{return ""};
|
|
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))
|
|
>"" : string
|
|
|
|
var x = foo();
|
|
>x : any, Symbol(x, Decl(functionCall1.ts, 1, 3))
|
|
>foo() : any
|
|
>foo : () => any, Symbol(foo, Decl(functionCall1.ts, 0, 0))
|
|
|