2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/functionReturningItself.ts ===
|
|
|
|
function somefn() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>somefn : () => typeof somefn, Symbol(somefn, Decl(functionReturningItself.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
return somefn;
|
2015-04-13 23:01:57 +02:00
|
|
|
>somefn : () => typeof somefn, Symbol(somefn, Decl(functionReturningItself.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|