swc/packages/helpers/esm/_class_check_private_static_access.js

5 lines
240 B
JavaScript

export function _class_check_private_static_access(receiver, classConstructor) {
if (receiver !== classConstructor) throw new TypeError("Private static access of wrong provenance");
}
export { _class_check_private_static_access as _ };