@0xsplits/splits-sdk
Version:
SDK for the 0xSplits protocol
14 lines • 608 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyMixins = void 0;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
var applyMixins = function (derivedCtor, constructors) {
constructors.forEach(function (baseCtor) {
Object.getOwnPropertyNames(baseCtor.prototype).forEach(function (name) {
Object.defineProperty(derivedCtor.prototype, name, Object.getOwnPropertyDescriptor(baseCtor.prototype, name) ||
Object.create(null));
});
});
};
exports.applyMixins = applyMixins;
//# sourceMappingURL=mixin.js.map