UNPKG

335 BJavaScriptView Raw
1import _Object$create from "@babel/runtime-corejs3/core-js/object/create";
2import setPrototypeOf from "./setPrototypeOf.js";
3export default function _inheritsLoose(subClass, superClass) {
4 subClass.prototype = _Object$create(superClass.prototype);
5 subClass.prototype.constructor = subClass;
6 setPrototypeOf(subClass, superClass);
7}
\No newline at end of file