21 lines
442 B
TypeScript
21 lines
442 B
TypeScript
//// [es5ExportDefaultFunctionDeclaration3.ts]
|
|
|
|
var before: typeof func = func();
|
|
|
|
export default function func(): typeof func {
|
|
return func;
|
|
}
|
|
|
|
var after: typeof func = func();
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration3.js]
|
|
var before = func();
|
|
function func() {
|
|
return func;
|
|
}
|
|
exports.default = func;
|
|
var after = func();
|
|
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration3.d.ts]
|
|
export default function func(): typeof func;
|