node-ejs-renderer/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
2024-06-09 13:55:01 -04:00

9 lines
507 B
JavaScript

import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
import assertClassBrand from "./assertClassBrand.js";
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
classApplyDescriptorSet(receiver, descriptor, value);
return value;
}