9 lines
256 B
JavaScript
9 lines
256 B
JavaScript
|
function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
||
|
if (receiver !== classConstructor) {
|
||
|
throw new TypeError("Private static access of wrong provenance");
|
||
|
}
|
||
|
|
||
|
return method;
|
||
|
}
|
||
|
|
||
|
module.exports = _classStaticPrivateMethodGet;
|