securityos/node_modules/@swc/helpers/cjs/_class_call_check.cjs

7 lines
230 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
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");
}