summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/inherits.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/inherits.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/inherits.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/inherits.js b/alarm/node_modules/@babel/runtime/helpers/esm/inherits.js
deleted file mode 100644
index 0b0a0ea..0000000
--- a/alarm/node_modules/@babel/runtime/helpers/esm/inherits.js
+++ /dev/null
@@ -1,17 +0,0 @@
-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
- }
- });
- Object.defineProperty(subClass, "prototype", {
- writable: false
- });
- if (superClass) setPrototypeOf(subClass, superClass);
-} \ No newline at end of file