`union(MstQueryRef, MstQueryRef)` ` if (Array.isArray(data[key])) { snapshot[key] = merge(data[key], typeDef.properties[key], ctx); continue; } ` should fix this (on line 47 in merge.ts)