diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/inheritsLoose.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/esm/inheritsLoose.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js new file mode 100644 index 00000000..90bb7965 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js @@ -0,0 +1,6 @@ +import setPrototypeOf from "./setPrototypeOf.js"; +export default function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + setPrototypeOf(subClass, superClass); +}
\ No newline at end of file |
