fix(types): preserve selector returnObjects shape with context (#2438)
Fixes the remaining selector regression from #2398: t(selector, { returnObjects: true, context }) on heterogeneous JSON arrays now preserves full object element shapes instead of inferring a union of partial types. Distributes FilterKeys over object unions, ignores phantom optional undefined context keys, and adds a context + returnObjects selector overload. Fixes #2398. S
sauravgupta-dotcom committed
9cbfa6353b6ab726c42be1e6ed52aab5b0601612
Parent: 3b04712
Committed by GitHub <noreply@github.com>
on 6/26/2026, 11:22:06 AM