Echo/node_modules/@babel/runtime/helpers/classCallCheck.js
2021-02-11 21:31:41 +08:00

7 lines
196 B
JavaScript

function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
module.exports = _classCallCheck;