summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/defineProperty.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/defineProperty.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/defineProperty.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/defineProperty.js b/alarm/node_modules/@babel/runtime/helpers/defineProperty.js
new file mode 100644
index 0000000..ad352fd
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/defineProperty.js
@@ -0,0 +1,14 @@
+function _defineProperty(obj, key, value) {
+ if (key in obj) {
+ Object.defineProperty(obj, key, {
+ value: value,
+ enumerable: true,
+ configurable: true,
+ writable: true
+ });
+ } else {
+ obj[key] = value;
+ }
+ return obj;
+}
+module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file