Features
- Recursive types compile statically: self-referential interfaces (
interface TreeNode { label: string; children: TreeNode[] }), mutually recursive types, and recursive unions — the AST/tree/linked-list class — now map to native representations. Cyclic values are collected by the cycle collector;JSON.stringifyon a cyclic value throws V8's exact circular-structure error;console.logprints Node's circular reference markers;JSON.parse(x) as Tvalidates recursive shapes with path-exact failures.