FrontPastel/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpec...

8 lines
484 B
JavaScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
import assertClassBrand from "./assertClassBrand.js";
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
return classApplyDescriptorGet(receiver, descriptor);
}