Test Automation / Repair Lab

TypeScript Type-System Siege

Restore four compile-time contracts with relational generics, exhaustive unions, mapped results, and satisfies-backed route types.

Difficulty
Boss
Format
Repair Lab
Points
300
Estimate
40 min

// MISSION BRIEF

Mission

Beacon CI generates test dashboards from a typed SDK. A rush migration replaced precise relationships with any, broad records, and default branches that hide new states. Repair the contracts so invalid automation code fails during compilation while runtime failures still remain explicit.

// FIRST CONTACT

Battle teaser

Advanced TypeScript repairs from generic key relationships to literal-preserving API registries.

Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

typescriptgenericsdiscriminated-unionsconditional-typesmapped-typessatisfiesinterview-lab