mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
476 B
TypeScript
20 lines
476 B
TypeScript
//// [tests/cases/conformance/es6/moduleExportsCommonjs/anonymousDefaultExportsCommonjs.ts] ////
|
|
|
|
//// [a.ts]
|
|
export default class {}
|
|
|
|
//// [b.ts]
|
|
export default function() {}
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class default_1 {
|
|
}
|
|
exports.default = default_1;
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = default_1;
|
|
function default_1() { }
|