aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/readOnlyError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/readOnlyError.js')
-rw-r--r--node_modules/@babel/runtime/helpers/readOnlyError.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/readOnlyError.js b/node_modules/@babel/runtime/helpers/readOnlyError.js
new file mode 100644
index 00000000..4e61e3fd
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/readOnlyError.js
@@ -0,0 +1,5 @@
+function _readOnlyError(name) {
+ throw new Error("\"" + name + "\" is read-only");
+}
+
+module.exports = _readOnlyError; \ No newline at end of file