Echo/node_modules/@babel/runtime/helpers/classCallCheck.js

7 lines
196 B
JavaScript
Raw Normal View History

2021-02-11 21:31:41 +08:00
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
module.exports = _classCallCheck;