First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
15
node_modules/@babel/runtime/helpers/esm/inherits.js
generated
vendored
Normal file
15
node_modules/@babel/runtime/helpers/esm/inherits.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import setPrototypeOf from "./setPrototypeOf.js";
|
||||
export default function _inherits(subClass, superClass) {
|
||||
if (typeof superClass !== "function" && superClass !== null) {
|
||||
throw new TypeError("Super expression must either be null or a function");
|
||||
}
|
||||
|
||||
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
||||
constructor: {
|
||||
value: subClass,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
if (superClass) setPrototypeOf(subClass, superClass);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue