* 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
27 lines
452 B
TypeScript
27 lines
452 B
TypeScript
//// [es5ModuleWithoutModuleGenTarget.ts]
|
|
export class A
|
|
{
|
|
constructor ()
|
|
{
|
|
}
|
|
|
|
public B()
|
|
{
|
|
return 42;
|
|
}
|
|
}
|
|
|
|
//// [es5ModuleWithoutModuleGenTarget.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.A = void 0;
|
|
var A = /** @class */ (function () {
|
|
function A() {
|
|
}
|
|
A.prototype.B = function () {
|
|
return 42;
|
|
};
|
|
return A;
|
|
}());
|
|
exports.A = A;
|