TypeScript/tests/baselines/reference/functionExpressionReturningItself.types
2015-04-15 16:44:20 -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