classStaticPrivateMethodGet.js 223 B

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