aswi2020vldc-gitlab/templetes/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js @ 3a515b92
1 |
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { |
---|---|
2 |
if (receiver !== classConstructor) { |
3 |
throw new TypeError("Private static access of wrong provenance"); |
4 |
}
|
5 |
|
6 |
if (descriptor.get) { |
7 |
return descriptor.get.call(receiver); |
8 |
}
|
9 |
|
10 |
return descriptor.value; |
11 |
}
|
12 |
|
13 |
module.exports = _classStaticPrivateFieldSpecGet; |