Urara-Blog/node_modules/.pnpm-store/v3/files/e6/a7b2773497b0d02988b69e4221c540af3af0dd88cdcf63b3b706dd35cf14d5b98c9906b87f62aa5f3dbc23cfe071100441025853184d381b92c441b6ab553c
2022-08-14 01:14:53 +08:00

21 lines
No EOL
661 B
Text

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) setPrototypeOf(subClass, superClass);
}
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;