TypeScript Type System Patterns That Replace Runtime Validation
Encode validation rules in types so the compiler catches invalid states before code runs.
Solvei Dalgaard
Staff Writer
Solvei trained as a UX researcher before pivoting to cover the craft side of software engineering, with a particular focus on systems thinking, technical decision-making, and how engineers communicate design intent across distributed teams. She holds a master's in human-computer interaction from Aalborg University.
1 story
Encode validation rules in types so the compiler catches invalid states before code runs.