y.map should accept objects without constructor

This commit is contained in:
Kevin Jahns
2025-11-14 00:57:19 +01:00
parent 452c83b3c6
commit b82a71ab41

View File

@@ -1045,6 +1045,7 @@ export const typeListInsertGenericsAfter = (transaction, parent, referenceItem,
switch (c.constructor) { switch (c.constructor) {
case Number: case Number:
case Object: case Object:
case undefined:
case Boolean: case Boolean:
case Array: case Array:
case String: case String: