diff options
Diffstat (limited to 'src/data/things/index.js')
| -rw-r--r-- | src/data/things/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data/things/index.js b/src/data/things/index.js index 41301575..676453ce 100644 --- a/src/data/things/index.js +++ b/src/data/things/index.js @@ -181,10 +181,10 @@ function evaluatePropertyDescriptors() { } } - constructor[CacheableObject.propertyDescriptors] = { - ...constructor[CacheableObject.propertyDescriptors] ?? {}, - ...results, - }; + constructor[CacheableObject.propertyDescriptors] = + Object.create(constructor[CacheableObject.propertyDescriptors] ?? null); + + Object.assign(constructor[CacheableObject.propertyDescriptors], results); }, showFailedClasses(failedClasses) { |