9 lines
264 B
TypeScript
9 lines
264 B
TypeScript
//// [functionExpressionReturningItself.ts]
|
|
var x = function somefn() { return somefn; };
|
|
|
|
//// [functionExpressionReturningItself.js]
|
|
var x = function somefn() { return somefn; };
|
|
|
|
|
|
//// [functionExpressionReturningItself.d.ts]
|
|
declare var x: () => any;
|