Jump to ratings and reviews
Rate this book

Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript

Rate this book
TypeScript has conquered the world of it's one of the world's fastest growing and most popular languages across developer surveys, widely used in consumer and business companies alike, and frequently credited for helping massive web applications scale. But what is TypeScript? How does it work, why does it work, and how can we use it? Learning TypeScript takes beginner to intermediate JavaScript programmers from knowing nothing about "types" or a "type system" to full mastery of the fundamentals of TypeScript. It's more than a means to find bugs and typos--it's a useful system for declaring the way our JavaScript should work and helping us stick to it. You'll learn how

317 pages, Paperback

Published July 12, 2022

68 people are currently reading
168 people want to read

About the author

Josh Goldberg

12 books4 followers

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
23 (32%)
4 stars
32 (45%)
3 stars
13 (18%)
2 stars
2 (2%)
1 star
1 (1%)
Displaying 1 - 8 of 8 reviews
Profile Image for Redowan Delowar.
46 reviews3 followers
June 23, 2022
This book is short and to the point. Although it's more geared towards TypeScript beginners, the chapters pick up the pace quickly. I found the chapters on generics, mapped, and conditional types quite insightful. The author lets the examples speak for themselves without introducing unnecessary fluff.

The chapter on mapped types contains some neat examples where the author mixed generics, conditional types, and mapped types together to demonstrate how powerful the type system can be. Another thing that's great about the book is how it warns the reader to be mindful of the outdated features. Here's one example that I loved:

raycast-untitled
Profile Image for Josh Goldberg.
1 review
June 24, 2022
Great book. Wonderful author. Hands down the best explanation of TypeScript I've ever seen. If I had to live on a desert island and could only bring three books, I'd bring two copies of this book and one blank book of equal size with a pen so I could transcribe it into a third.
Profile Image for Filip Tepper.
141 reviews10 followers
January 31, 2023
Z tej książki nie nauczysz się programować w TS. Dowiesz się za to wszystkiego o typach w TS. Kiepska pozycja na początek bo dość przytłaczająca, ale za jakiś czas przewertuję ponownie - przyda się.
Profile Image for Iain Davis.
14 reviews1 follower
October 23, 2024
Good book.

I started using TypeScript probably about a year ago when my team got assigned a project that used it. I picked up bits and pieces as I went along, and I got pretty good at using and expressing types concisely. But there were a couple of things that remained somewhat mysterious to me... declaration files, various configuration options, inference, conditional types, etc.. The very complex types people suggest on StackOverflow to solve some esoteric typing scenario read like sorcery to me. I figured I probably ought to get myself some kind of grounding in the language.

This book has been very good for my purposes. It did cover a lot of ground I had already more or less picked up on my own, but it also gave me a basic understanding of some of the more esoteric applications of TypeScript, and when they are useful, as well as illuminating the purpose and usage of the configuration options (the configuration section will remain a reference in my toolkit for some time, I imagine). I will likely re-read it in future (particularly Chapter 15, which covers Conditional Types) to shore up my understanding, because there's a lot to digest there, but for now I feel much more capable of engaging meaningfully with TypeScript-based projects.
100 reviews
January 11, 2023
Unfinished (I had the paperback version, not the ebook).

The title of this book is misleading. It should be called "Converting Javascript to Typescript".
It explains only the types. That's it. You won't learn to program in Typescript.

At least it is well written.
4 reviews
July 14, 2023
I knew absolutely nothing about TypeScript beforehand. After reading this book and completing the projects, I feel confident in this language. The book itself is great, but the exercises are really the cherry on top. There are some typos in the code though. Overall, highly recommended.
Profile Image for Ethan Swan.
65 reviews
September 19, 2023
Far from a page turner, but it conveys the information it sets out to. I felt like I knew a lot more about Typescript by the time I finished, but I also felt like I'd been reading an encyclopedia.
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.