the-forest/client/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js
2024-09-17 20:35:18 -04:00

12 lines
507 B
JavaScript

function _defineEnumerableProperties(e, r) {
for (var t in r) {
var n = r[t];
n.configurable = n.enumerable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, t, n);
}
if (Object.getOwnPropertySymbols) for (var a = Object.getOwnPropertySymbols(r), b = 0; b < a.length; b++) {
var i = a[b];
(n = r[i]).configurable = n.enumerable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, i, n);
}
return e;
}
export { _defineEnumerableProperties as default };