source: trip-planner-front/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 259 bytes
RevLine 
[6a3a178]1import setPrototypeOf from "./setPrototypeOf.js";
2export default function _inheritsLoose(subClass, superClass) {
3 subClass.prototype = Object.create(superClass.prototype);
4 subClass.prototype.constructor = subClass;
5 setPrototypeOf(subClass, superClass);
6}
Note: See TracBrowser for help on using the repository browser.