Book
Effective TypeScript, 2nd Edition
Dan Vanderkam
Summary
Dan Vanderkam follows the Effective C++ and Effective Java format: 83 independent, numbered items, each making one specific argument about how to use TypeScript rather than explaining the language end to end. This second edition is updated for TypeScript 5 and adds two new chapters, one on type-level programming and one of TypeScript recipes, alongside existing coverage of type inference, control flow analysis, generics, and the unsound corners of the any type. Because each item stands alone with its own before-and-after code, it works as well for looking up a specific problem as for reading in order.
Target Readers
- TypeScript developers who know the syntax but keep writing code the type checker fights instead of works with
- Engineers on a large TypeScript codebase who need concrete guidance on type design decisions, not another language tour
- Developers migrating a JavaScript codebase to TypeScript and hitting any types they don't know how to eliminate
Tags
Colophon
- Publisher
- オライリー・ジャパン
- ISBN
- 978-4814401093
- Published
- Apr 2025
- List price
- ¥4,620incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Recommended
Programming TypeScript
Boris Cherny
Reason: Once you understand the basics of TypeScript's type system, you systematically learn the knack of using it 'effectively.' Effective TypeScript provides judgment criteria—eighty-three concrete items on leveraging type inference and taming any—for making types a weapon in practice.
Next Books
- Recommended
Learning React, 2nd Edition
Alex Banks, Eve Porcello
Reason: Once type design is a weapon you can wield, you advance to component-oriented UI development—the proving ground where those types shine most. Learning React gives you the experience of building UI declaratively while guarding props and state with types, letting you feel the benefit of types in making screens.
- Related
A Philosophy of Software Design, 2nd Edition
John Ousterhout
Reason: Once you can write robust code with types, you want to face a more fundamental question—how to curb complexity itself. A Philosophy of Software Design articulates the 'good versus bad' of design that underlies typing, through principles like deep modules and information hiding.