* Hoist initial assignment to exported names in cjs to they are not blocked by bindings made by __exportStar * Copy hoisted identifiers so they do not create sourcemaps * Accept updated baselines
26 lines
459 B
TypeScript
26 lines
459 B
TypeScript
//// [tests/cases/compiler/filesEmittingIntoSameOutputWithOutOption.ts] ////
|
|
|
|
//// [a.ts]
|
|
export class c {
|
|
}
|
|
|
|
//// [b.ts]
|
|
function foo() {
|
|
}
|
|
|
|
|
|
//// [a.js]
|
|
define("a", ["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
exports.c = void 0;
|
|
var c = /** @class */ (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
}());
|
|
exports.c = c;
|
|
});
|
|
function foo() {
|
|
}
|