mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
- '"k" in record' with a literal key naming no declared member of an index-signature record (a match's named groups) takes the keyed presence probe a runtime key takes. - Spreading a fresh array literal (directly, through a conditional, or through a const used only there) into push/unshift or an insertion converts its elements into the destination's element layout; nothing else can reach them, so the copy is unobservable. - A const annotated with a type the checker reads as 'any' and initialized by an empty object literal holds the checked-dynamic object, so keyed writes fill it (the empty struct could hold nothing). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>