8 lines
274 B
JavaScript
8 lines
274 B
JavaScript
|
function _classCallCheck(instance, Constructor) {
|
||
|
if (!(instance instanceof Constructor)) {
|
||
|
throw new TypeError("Cannot call a class as a function");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = _classCallCheck;
|
||
|
module.exports["default"] = module.exports, module.exports.__esModule = true;
|