summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/esm/readOnlyError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/readOnlyError.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/readOnlyError.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js
index 166e40e5..fcc3e339 100644
--- a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js
+++ b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js
@@ -1,3 +1,4 @@
-export default function _readOnlyError(name) {
- throw new TypeError("\"" + name + "\" is read-only");
-} \ No newline at end of file
+function _readOnlyError(r) {
+ throw new TypeError('"' + r + '" is read-only');
+}
+export { _readOnlyError as default }; \ No newline at end of file