# The TypeScript Handbook (2025 edition)

> The 2025 edition of my TypeScript Handbook is out, adding type guards, generics, as const assertions, and a clear explanation of unknown versus any.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2025-09-29 | Topics: [News](https://flaviocopes.com/tags/news/) | Canonical: https://flaviocopes.com/the-typescript-handbook-2025-edition/

I first released the first edition of the [TypeScript](https://flaviocopes.com/typescript/) Handbook last year, late 2024, and after updating the [JavaScript](https://flaviocopes.com/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 are 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[]` over `Array<number>`
- Explained `unknown` vs `any`
- 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](https://flaviocopes.com/deno/)/ts-node)
