mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-02 07:43:42 +08:00
A written type predicate whose target is no arm of the element union but the same fields as one, with a nested union field narrowed (Model<"a"> from the Model<Api> arm), was refused. The kept elements of that arm now convert field by field, the nested union by its tag; any other kept element still throws the predicate TypeError. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>