mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
596 B
TypeScript
25 lines
596 B
TypeScript
//// [tests/cases/compiler/es5ExportDefaultFunctionDeclaration3.ts] ////
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration3.ts]
|
|
var before: typeof func = func();
|
|
|
|
export default function func(): typeof func {
|
|
return func;
|
|
}
|
|
|
|
var after: typeof func = func();
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration3.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = func;
|
|
var before = func();
|
|
function func() {
|
|
return func;
|
|
}
|
|
var after = func();
|
|
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration3.d.ts]
|
|
export default function func(): typeof func;
|