aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/esm/inherits.js
blob: 78f6e4e33883b54f8c50948598d3864d4a5e68a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import setPrototypeOf from "./setPrototypeOf.js";
function _inherits(t, e) {
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
  t.prototype = Object.create(e && e.prototype, {
    constructor: {
      value: t,
      writable: !0,
      configurable: !0
    }
  }), Object.defineProperty(t, "prototype", {
    writable: !1
  }), e && setPrototypeOf(t, e);
}
export { _inherits as default };
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage