The TypeScript Handbook (2025 edition)
I first released the first edition of the TypeScript Handbook last year, late 2024, and after updating the JavaScript Handbook today, I decided to do a good review of the TypeScript book as well.
I want to keep all books as up to date as possible, and TS is one of those things that is evolving rather quickly.
The handbook covers essential TypeScript features while remaining beginner-friendly and up-to-date with modern practices.
Here’s a concise changelog:
- Fixed some broken links
- Fixed grammar and typos
- Updated code style: single quotes, consistent spacing,
number[]
overArray<number>
- Explained
unknown
vsany
- Introduced the use of optional chaining & nullish coalescing
- Added type guards
- Introduced
as const
assertions - Explained basic generics
- Added notes about TS runtime support (Bun/Deno/ts-node)
I wrote 20 books to help you become a better developer:
- JavaScript Handbook
- TypeScript Handbook
- CSS Handbook
- Node.js Handbook
- Astro Handbook
- HTML Handbook
- Next.js Pages Router Handbook
- Alpine.js Handbook
- HTMX Handbook
- React Handbook
- SQL Handbook
- Git Cheat Sheet
- Laravel Handbook
- Express Handbook
- Swift Handbook
- Go Handbook
- PHP Handbook
- Python Handbook
- Linux/Mac CLI Commands Handbook
- C Handbook