8 lines
265 B
Plaintext
8 lines
265 B
Plaintext
=== tests/cases/compiler/functionExpressionReturningItself.ts ===
|
|
var x = function somefn() { return somefn; };
|
|
>x : () => typeof somefn
|
|
>function somefn() { return somefn; } : () => typeof somefn
|
|
>somefn : () => typeof somefn
|
|
>somefn : () => typeof somefn
|
|
|