mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-03 07:54:40 +08:00
A union that is a Set element or a Map key is stored as a union box, and a union type has one representation in a program. The overlay's `Set<ts.Node | undefined>` made the native compiler box every `ts.Node | undefined` value, including each optional child a syntax node returns. The set now holds the defined nodes only.