forgeplus-react/node_modules/@babel/runtime/helpers/es6/classCallCheck.js

5 lines
176 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
export default function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}