mitaaaa / Goat-Bot-V2 /node_modules /@babel /runtime /helpers /classApplyDescriptorDestructureSet.js
Download Goat-Bot-V2/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js from sweet2004/mitaaaa: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/spaces/sweet2004/mitaaaa/resolve/main/Goat-Bot-V2/node_modules/%40babel/runtime/helpers/classApplyDescriptorDestructureSet.js
- Command line
-
hf download hf://spaces/sweet2004/mitaaaa/Goat-Bot-V2/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
-
curl -L -o classApplyDescriptorDestructureSet.js https://huggingface.co/spaces/sweet2004/mitaaaa/resolve/main/Goat-Bot-V2/node_modules/%40babel/runtime/helpers/classApplyDescriptorDestructureSet.js
572 Bytes
| function _classApplyDescriptorDestructureSet(receiver, descriptor) { | |
| if (descriptor.set) { | |
| if (!("__destrObj" in descriptor)) { | |
| descriptor.__destrObj = { | |
| set value(v) { | |
| descriptor.set.call(receiver, v); | |
| } | |
| }; | |
| } | |
| return descriptor.__destrObj; | |
| } else { | |
| if (!descriptor.writable) { | |
| throw new TypeError("attempted to set read only private field"); | |
| } | |
| return descriptor; | |
| } | |
| } | |
| module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; |