mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
7 lines
196 B
JavaScript
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; |