diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/defineProperty.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/esm/defineProperty.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/defineProperty.js b/alarm/node_modules/@babel/runtime/helpers/esm/defineProperty.js new file mode 100644 index 0000000..59bfb0c --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/esm/defineProperty.js @@ -0,0 +1,13 @@ +export default 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; +}
\ No newline at end of file |