line_push/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
2022-07-21 03:28:35 +00:00

5 lines
225 B
JavaScript

export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
if (descriptor === undefined) {
throw new TypeError("attempted to " + action + " private static field before its declaration");
}
}