TypeScript/tests/baselines/reference/functionExpressionReturningItself.types
2014-08-18 14:29:42 -07:00

8 lines
225 B
Plaintext

=== tests/cases/compiler/functionExpressionReturningItself.ts ===
var x = function somefn() { return somefn; };
>x : () => any
>function somefn() { return somefn; } : () => any
>somefn : () => any
>somefn : () => any