mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 22:41:06 +03:30
12 lines
368 B
JavaScript
Vendored
12 lines
368 B
JavaScript
Vendored
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
|
if (receiver !== classConstructor) {
|
|
throw new TypeError("Private static access of wrong provenance");
|
|
}
|
|
|
|
if (!descriptor.writable) {
|
|
throw new TypeError("attempted to set read only private field");
|
|
}
|
|
|
|
descriptor.value = value;
|
|
return value;
|
|
} |