TutorialSoftware Engineering
Type-Driven Refactoring in Practice
Using the compiler as a refactoring engine in TypeScript
Jul 15, 2026 · 2 min read
Abstract
Large refactors fail when they depend on human attention across hundreds of call sites. This tutorial demonstrates a workflow that turns the TypeScript compiler into the driver: make the desired end state impossible to misuse, let the type errors enumerate the work, and land the change in mechanical, reviewable steps.
Sign in to continue reading
The full text of this tutorial, along with PDF downloads and bookmarks, is free with an account.