11 lines
182 B
Plaintext
11 lines
182 B
Plaintext
=== tests/cases/compiler/functionCall2.ts ===
|
|
function foo():number{return 1};
|
|
>foo : () => number
|
|
>1 : 1
|
|
|
|
var x = foo();
|
|
>x : number
|
|
>foo() : number
|
|
>foo : () => number
|
|
|