* 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
658 B
TypeScript
27 lines
658 B
TypeScript
//// [declFileClassWithStaticMethodReturningConstructor.ts]
|
|
export class Enhancement {
|
|
public static getType() {
|
|
return this;
|
|
}
|
|
}
|
|
|
|
//// [declFileClassWithStaticMethodReturningConstructor.js]
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
exports.Enhancement = void 0;
|
|
var Enhancement = /** @class */ (function () {
|
|
function Enhancement() {
|
|
}
|
|
Enhancement.getType = function () {
|
|
return this;
|
|
};
|
|
return Enhancement;
|
|
}());
|
|
exports.Enhancement = Enhancement;
|
|
|
|
|
|
//// [declFileClassWithStaticMethodReturningConstructor.d.ts]
|
|
export declare class Enhancement {
|
|
static getType(): typeof Enhancement;
|
|
}
|