hensei-web/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
2020-09-11 06:44:42 -07:00

5 lines
No EOL
176 B
JavaScript

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