summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js b/alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
new file mode 100644
index 0000000..26fdea0
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
@@ -0,0 +1,9 @@
+export default 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
+ });
+} \ No newline at end of file