Files
damai-wx/@babel/runtime/helpers/inherits.js
MagicalKudzu 8079e6c819 首次提交
2025-12-12 10:35:12 +08:00

1 line
372 B
JavaScript

var setPrototypeOf=require("./setPrototypeOf");function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&setPrototypeOf(e,t)}module.exports=_inherits;