TypeScript/tests/baselines/reference/functionExpressionReturningItself.types

8 lines
225 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/functionExpressionReturningItself.ts ===
var x = function somefn() { return somefn; };
>x : () => any
>function somefn() { return somefn; } : () => any
>somefn : () => any
>somefn : () => any
2014-08-15 23:33:16 +02:00