summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js b/school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
new file mode 100644
index 0000000..2f1738a
--- /dev/null
+++ b/school/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
@@ -0,0 +1,5 @@
+export default function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+} \ No newline at end of file