classStaticPrivateMethodGet.js 256 B

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