inheritsLoose.js 440 B

123456789101112
  1. var _Object$create = require("@babel/runtime-corejs3/core-js/object/create");
  2. var setPrototypeOf = require("./setPrototypeOf.js");
  3. function _inheritsLoose(subClass, superClass) {
  4. subClass.prototype = _Object$create(superClass.prototype);
  5. subClass.prototype.constructor = subClass;
  6. setPrototypeOf(subClass, superClass);
  7. }
  8. module.exports = _inheritsLoose;
  9. module.exports["default"] = module.exports, module.exports.__esModule = true;