From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- node_modules/@babel/runtime/helpers/esm/classCallCheck.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'node_modules/@babel/runtime/helpers/esm/classCallCheck.js') diff --git a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js index 2f1738a3..bf972193 100644 --- a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +++ b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js @@ -1,5 +1,4 @@ -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 +function _classCallCheck(a, n) { + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); +} +export { _classCallCheck as default }; \ No newline at end of file -- cgit v1.2.3