Jump to ratings and reviews
Rate this book

Essential TypeScript 5, Third Edition

Rate this book
Now in its third edition, this bestselling guide to TypeScript takes you through the nuts and bolts of the language. No frills, no fuss—just TypeScript essentials!

TypeScript enhances JavaScript with static typing, while keeping all the JS flexibility you know and love! It’s the perfect choice for any developer looking to improve the predictability and reliability of their code. Essential TypeScript 5, Third Edition teaches you how to get the most out of TypeScript 5 for a consistent, dependable development experience.

Inside Essential TypeScript 5, Third Edition you’ll learn how


The book starts you off with a proper understanding of the JavaScript type system that will make using TypeScript so much easier. On that solid foundation, you’ll build your understanding of TypeScript development, following a hands-on learning path all the way to TypeScript’s advanced features.

About the technology

TypeScript is a popular superset of JavaScript that adds support for static typing. TypeScript’s typing features, which will be instantly familiar to C# or Java programmers, help you reduce errors and improve the overall quality of your JavaScript code.

About the book

Essential TypeScript 5 is a fully updated third edition of the classic Adam Freeman bestseller. It provides full coverage of TypeScript 5, including new features like decorators. You’ll begin with the hows-and-whys of TypeScript, then quickly progress to practical applications of static types. No wasted pages! Each chapter is focused on the skills you need to write awesome web apps.

What's inside


About the reader

For JavaScript developers. No previous experience with TypeScript required.

About the author

Adam Freeman has held senior positions in a range of companies, most recently serving as CTO and COO of a global bank. He has written 50 programming books. The technical editor on this book is Fabio Claudio Ferracchiati.

Table of Contents

1 Understanding TypeScript
Part 1
2 Your first TypeScript application
3 JavaScript primer, part 1
4 JavaScript primer, part 2
5 Using the TypeScript compiler
6 Testing and debugging TypeScript
Part 2
7 Understanding static types
8 Using functions
9 Using arrays, tuples, and enums
10 Working with objects
11 Working with classes and interfaces
12 Using generic types
13 Advanced generic types
14 Using decorators
15 Working with JavaScript
Part 3
16 Creating a stand-alone web app, part 1
17 Creating a stand-alone web app, part 2
18 Creating an Angular app, part 1
19 Creating an Angular app, part 2
20 Creating a React app
21 Creating a React app, part 2

568 pages, Paperback

Published October 10, 2023

12 people are currently reading
68 people want to read

About the author

Adam Freeman

100 books9 followers
Librarian Note:
There is more than one author in the Goodreads database with this name.
This profile may contain books from multiple authors of this name.

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
10 (66%)
4 stars
3 (20%)
3 stars
2 (13%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Sebastian Gebski.
1,209 reviews1,393 followers
February 17, 2024
It did its job very well - what I wanted was to refresh my TS (both language & the tooling) w/o getting through "Hello world" basics for the 100th time in my life ... Few comments:
- I got pretty much as much as I wanted about the syntax
- some of the techniques covered were really deep dive & covered with sufficient detail (e.g., advanced generic types)
- there's very little on idiomatic TS, but it's mostly due to the history of the language itself (IMHO)
- toolchain coverage is a bit minimalistic, but the author wanted to avoid the book getting outdated too fast - I think he struck a good balance here
- the least interesting part was the last one (about Angular/React apps) - I guess that these chapters were supposed to give a glimpse of real-life app development, but it didn't work with me as I'm far more interested in back-end service/infra IaC dev

A very useful resource if you need to refresh/learn TS quickly.
2 reviews1 follower
November 13, 2023
"Essential TypeScript 5, Third Edition" is a comprehensive guide that adeptly navigates through the intricacies of TypeScript, offering both beginners and seasoned developers a valuable resource. The book provides clear explanations of TypeScript's features, from basic syntax to advanced concepts, coupled with practical examples. The author's lucid writing style and well-structured content make it easy to grasp complex topics, empowering readers to enhance their JavaScript projects with the robustness of TypeScript. Whether you're diving into TypeScript for the first time or seeking in-depth insights, this edition proves to be an indispensable companion for mastering TypeScript development.
1 review
November 13, 2023
This books really goes back to basics like compiling TS to JS and JS interop in general but then it moves onto more advanced concepts as the book progresses. In a way it's really good for filling the gaps, either for junior Developers or Developers transitioning from other languages that understand more advanced concepts but need to fill some basics.
For me the testing and debugging was very interesting, alongside the chapter on arrays, enums and tuples.
The book ends with some practical examples in Angular and React.
Overall it's a really comprehensive book that touches on a lot of topics, including creating a Docker container ti run your TS app.
3 reviews2 followers
October 26, 2023
Interestingly, the book starts from beginner to more advanced topics with a good pace for new readers, including an introduction to Typescript and a review of Javascript. As we know, Typescript is a wrapper of Javascript, OOP, and finishing with advanced topics, such as generics types, decorator design patterns, plus Angular and React apps that include code examples and best practices.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.