bd660db52b646ecd371cd09eb8cefd677751300bbe3fd32e800e674a22cf918decf35c4e5b8dcf1e60f92fba5fe5470a36f0dac42463d3d106d7d4ecd2bece 460 B

1234567891011121314
  1. import setPrototypeOf from "./setPrototypeOf.js";
  2. function _inherits(t, e) {
  3. if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
  4. t.prototype = Object.create(e && e.prototype, {
  5. constructor: {
  6. value: t,
  7. writable: !0,
  8. configurable: !0
  9. }
  10. }), Object.defineProperty(t, "prototype", {
  11. writable: !1
  12. }), e && setPrototypeOf(t, e);
  13. }
  14. export { _inherits as default };