Tracks the TypeScript compatibility batch for source-file forward overload calls and post-logical-assignment member flow, as part of #66 and #548.
Two independent checker gaps affected the pinned Zod project:
- Calls before a top-level overload group only saw the first four-parameter declaration, so valid five-argument calls reported TS2554. Eagerly prechecking every source-file function is unsafe because generic signatures can precede the types they reference; overload groups are now discovered and lowered lazily at the forward call.
??=/||=flow propagation only recorded identifier targets. Optional member and element targets remained nullable after initialization. Their post-assignment flow is now recorded, while assignable object/array/literal RHS values retain the declared non-nullish slot type (for exampleRecord<string, Node>rather than raw{}).
Implemented in 6a947ea.
Validation:
- Type checker: 4,385/4,385 tests pass in ReleaseFast.
- Full ReleaseFast build with JSC: 50/50 steps pass.
- Pinned Zod v4.5.2 core oracle: 34 diagnostics -> 30, removing four expected false positives with zero additions.
- Focused forward-overload, member-flow, formatting, diff, and Pickier checks pass.