Files
med-notes/.pnpm-store/v10/files/dc/d5cb91e66572e27739d353096a5d23feeb7a7ff4de10a8a47721de64193c0cd094140c2a08d47d95cc07ea2854110c51bcfde3d6d28fa34741de767674a860
2025-05-09 05:30:08 +02:00

26 lines
715 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _inherits;
var _setPrototypeOf = require("./setPrototypeOf.js");
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) (0, _setPrototypeOf.default)(subClass, superClass);
}
//# sourceMappingURL=inherits.js.map