Files
ihrm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
2023-05-10 15:06:57 +05:30

5 lines
176 B
JavaScript

export default function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}