@elium/mighty
Version:
Context agnostic TS & JS ORM
11 lines • 418 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function applyMixins(derivedCtor, baseCtors) {
baseCtors.forEach(function (baseCtor) {
Object.getOwnPropertyNames(baseCtor.prototype).forEach(function (name) {
derivedCtor.prototype[name] = baseCtor.prototype[name];
});
});
}
exports.applyMixins = applyMixins;
//# sourceMappingURL=mixins.js.map
;