mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 17:09:30 +08:00
13 lines
No EOL
409 B
Text
13 lines
No EOL
409 B
Text
function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
if (descriptor.set) {
|
|
descriptor.set.call(receiver, value);
|
|
} else {
|
|
if (!descriptor.writable) {
|
|
throw new TypeError("attempted to set read only private field");
|
|
}
|
|
|
|
descriptor.value = value;
|
|
}
|
|
}
|
|
|
|
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports; |