Jump to ratings and reviews
Rate this book

Total Typescript

Rate this book
A no-nonsense guide to all the essentials you’ll need to become a TypeScript wizard and build a TypeScript application from scratch.

“An invaluable resource to countless developers.”
—Ryan Cavanaugh, Development Lead Microsoft TypeScript Team

TypeScript makes JavaScript safer and your editor smarter. Matt Pocock’s Total TypeScript courses have trained thousands of developers by putting the editor You learn types by watching what TypeScript tells you, not by memorizing rules. This book brings that method to print.

You’ll start by setting up a proper TypeScript environment, then immediately begin writing and annotating code. Each chapter builds on the last—primitive types to unions, objects to classes, basic generics to type transformations—with exercises woven throughout as checkpoints, not afterthoughts.

Later chapters tackle what takes longer to deriving types from other types, writing type predicates and assertion functions, configuring the compiler for real projects, and building type architectures that don’t collapse under their own weight.

You’ll learn
Read TypeScript’s error messages and use your editor as a teaching toolWrite precise types for objects, functions, and classesUse unions, narrowing, and generics to make types flexible without losing safetyDerive and transform types so you don’t repeat yourselfConfigure tsconfig.json for React, Node, or library development
This is a workshop in print. The one Matt Pocock has been refining for years.

405 pages, Kindle Edition

Published April 14, 2026

Loading...
Loading...

About the author

Matt Pocock

2 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (60%)
4 stars
1 (20%)
3 stars
1 (20%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.