TypeScript Resources and Book Recommendations
Introduction
After working through this track, the fastest growth comes from building projects and using trusted references when you are stuck. This chapter curates official docs, books, courses, and how this TypeScript path fits with the site’s JavaScript and tooling content.
Prerequisites
- Progress on chapters in this track (or equivalent experience)
- At least one project chapter attempted (recommended)
How to Keep Improving
- Build a small feature end-to-end in TypeScript
- Let the compiler error—read the message, fix the type
- Read the smallest doc section that unblocks you
- Refactor with stricter types or clearer unions
Reading without coding slows progress. TypeScript skill is compile-time reasoning plus runtime habits.
Official and Primary References
| Resource | Best for |
|---|---|
| TypeScript Handbook | Canonical language guide |
| TypeScript release notes | New syntax and flags |
| TSConfig reference | Every compiler option |
| DefinitelyTyped | Community @types packages |
| TypeScript playground | Quick experiments |
Start with the handbook when terminology in errors is unfamiliar.
High-Quality Community Resources
- Total TypeScript — practical patterns and exercises (Matt Pocock)
- TypeScript Deep Dive — free book-style reference (Basarat Syed)
- React TypeScript Cheatsheet — if you use React + TS
Recommended Books
Programming TypeScript (Boris Cherny)
- Strong structured introduction from language basics to advanced types
- Good after this track for deeper consolidation
Effective TypeScript (Dan Vanderkam)
- Item-style best practices for real codebases
- Best when you already write TS daily and want sharper habits
Essential TypeScript (Adam Freeman)
- Broader coverage including tooling and integration contexts
- Useful as a desk reference
Pick one book and finish it while building—not three books in parallel.
Courses and Interactive Learning
- Total TypeScript workshops — paid, high signal
- Official handbook exercises and playground snippets — free
- Your own repo: reimplement a small JS project in strict TS
Pair With Other Hello Code Tracks
| Track | Why |
|---|---|
| JavaScript | Runtime behavior TS assumes you know |
| HTML / CSS | Frontend projects and DOM types |
| Node chapters in JavaScript | Servers, npm, testing with TS |
| Gradle / build topics (if applicable) | CI and multi-module patterns at org scale |
TypeScript is a layer on JavaScript—weak JS fundamentals show up as confusing type errors.
Topics to Explore Next
- Schema validation (Zod, Valibot) with
unknowninputs openapi-typescriptor tRPC for API typing- Monorepos with project references
- Type testing (
tsd, Vitestexpect-type)
FAQ
Handbook vs this track?
This track is guided and project-oriented; the handbook is the authoritative spec-style reference.
Stay on latest TypeScript?
Use a recent stable version; upgrade deliberately in teams with changelog review.
Learn decorators first?
Only if your framework requires them—otherwise prioritize unions, generics, and strict mode.
AI tools and TypeScript?
Useful for boilerplate; verify types with tsc—do not trust generated types blindly.
Contributing to DefinitelyTyped?
Great open source path when a library you use lacks types—read their contribution guide.