Total Typescript

Matt Pocock

New New
Book cover for Total Typescript
Image for variant 9781718504165
Book cover for Total Typescript
Image for variant 9781718504165

Total Typescript

Total Typescript

Matt Pocock

View full details

Description

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 first: 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 learn: 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 to:
  • Read TypeScript's error messages and use your editor as a teaching tool
  • Write precise types for objects, functions, and classes
  • Use unions, narrowing, and generics to make types flexible without losing safety
  • Derive and transform types so you don't repeat yourself
  • Configure tsconfig.json for React, Node, or library development

This is a workshop in print. The one Matt Pocock has been refining for years.

About the Author

Matt Pocock is a TypeScript educator and developer who has worked with Vercel and Stately.ai. He created TotalTypeScript.com, an online learning platform that has taught thousands of developers to master TypeScript.

Taylor Bell is a writer, developer, and researcher with a background in Communication Theory and Computer Science from Boise State University.

Publishing Information

Publisher: No Starch Press
Pub date: 2026-04-14
Length: 432 pages

The Allstora Membership

Membership Perks:

  • Save 30% on all online store purchases
  • Exclusive access to author's content
  • You pay less, but authors still earn double

Membership Terms:

First Month: $0.00
Monthly price: $5.00
  • To access membership discount simply log in and add to cart, discount applied automatically.
  • One month free trial, cancel anytime. Membership renews on the 15th of each month.