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