classCheckPrivateStaticAccess.js 199 B

12345
  1. export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
  2. if (receiver !== classConstructor) {
  3. throw new TypeError("Private static access of wrong provenance");
  4. }
  5. }