diff options
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js')
-rw-r--r-- | school/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js b/school/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js new file mode 100644 index 0000000..0ef34b8 --- /dev/null +++ b/school/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js @@ -0,0 +1,5 @@ +export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { + if (descriptor === undefined) { + throw new TypeError("attempted to " + action + " private static field before its declaration"); + } +}
\ No newline at end of file |