summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js b/alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js
new file mode 100644
index 0000000..7f35d50
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/initializerDefineProperty.js
@@ -0,0 +1,10 @@
+function _initializerDefineProperty(target, property, descriptor, context) {
+ if (!descriptor) return;
+ Object.defineProperty(target, property, {
+ enumerable: descriptor.enumerable,
+ configurable: descriptor.configurable,
+ writable: descriptor.writable,
+ value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
+ });
+}
+module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file