UNPKG

typed-wx-api

Version:
18 lines 591 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyMixins = void 0; /** * @internal * @param derivedCtor * @param constructors */ function applyMixins(derivedCtor, constructors) { constructors.forEach((baseCtor) => { Object.getOwnPropertyNames(baseCtor.prototype).forEach((name) => { Object.defineProperty(derivedCtor.prototype, name, Object.getOwnPropertyDescriptor(baseCtor.prototype, name) || Object.create(null)); }); }); } exports.applyMixins = applyMixins; //# sourceMappingURL=utils.js.map