Programming TypeScript: Making Your JavaScript Applications Scale
Original price was: €56.€30Current price is: €30.
Price: $55.99 - $30.00
(as of Sep 27, 2025 04:01:57 UTC – Details)
Any programmer working with a dynamically typed language will tell you how hard it is to scale to more lines of code and more engineers. That’s why Facebook, Google, and Microsoft invented gradual static type layers for their dynamically typed JavaScript and Python code. This practical book shows you how one such type layer, TypeScript, is unique among them: it makes programming fun with its powerful static type system.
If you’re a programmer with intermediate JavaScript experience, author Boris Cherny will teach you how to master the TypeScript language. You’ll understand how TypeScript can help you eliminate bugs in your code and enable you to scale your code across more engineers than you could before.
In this book, you’ll:
Start with the basics: Learn about TypeScript’s different types and type operators, including what they’re for and how they’re usedExplore advanced topics: Understand TypeScript’s sophisticated type system, including how to safely handle errors and build asynchronous programsDive in hands-on: Use TypeScript with your favorite frontend and backend frameworks, migrate your existing JavaScript project to TypeScript, and run your TypeScript application in production
From the brand

Explore more Typescript
or explore JavaScript
More from O’Reilly

Sharing the knowledge of experts
O’Reilly’s mission is to change the world by sharing the knowledge of innovators. For over 40 years, we’ve inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Publisher : O’Reilly Media
Publication date : May 23, 2019
Edition : 1st
Language : English
Print length : 322 pages
ISBN-10 : 1492037656
ISBN-13 : 978-1492037651
Item Weight : 2.31 pounds
Dimensions : 6.75 x 0.75 x 9 inches
Best Sellers Rank: #132,988 in Books (See Top 100 in Books) #16 in JavaScript Programming (Books) #122 in Software Development (Books) #218 in Programming Languages (Books)
Customer Reviews: 4.6 4.6 out of 5 stars 332 ratings var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
Customers say
Customers find the book’s explanations thorough, with one review specifically praising its coverage of generics. The TypeScript knowledge aspect receives mixed feedback, with some customers enthusiastic about the language while others express reservations. The content coverage also receives mixed reviews, with one customer noting it covers a lot of ground while another mentions topics being glossed over.
13 reviews for Programming TypeScript: Making Your JavaScript Applications Scale
Add a review
Original price was: €56.€30Current price is: €30.
Flekstpor Drufan –
I wish more tech books were like this
I really, really enjoyed this book. I came away feeling both knowledgeable and enthusiastic about TypeScript.1. It’s perfectly paced for the seasoned programmer who wants to learn TypeScript fast, without getting bogged down in basic programming concepts.2. The explanations are clear. There were times when I had to read a section a couple of times to understand it, particularly around advanced concepts in the type system; but this was generally due to the material itself, not to the manner in which it was communicated.3. It was very thorough. I came away feeling that I had all the language and ecosystem-related knowledge required to use TypeScript confidently in production.4. It covered not only the language, but also the ecosystem. The build system for TypeScript projects is inherently more complicated than for many other languages. There are many knobs and levers that can be adjusted. This book provides very clear and helpful advice about how to configure your build based on the requirements of your project.5. The author has an enthusiastic writing style which contains just the right amount of humour to keep things “bouncing along” without getting too dry. For some, perhaps the little jokes throughout might be too much, but I kind of appreciated it.6. Lastly, but absolutely not least, the typesetting, layout and physical dimensions of the book were perfect for comfortable reading on the train, at home on the couch, wherever. Many technical books with solid content are let down by writing that’s too small, margins that are too narrow, or simply by the book itself being too large to comfortably hold and read. I was very grateful for the sensible typesetting and dimensions of this book.
Kaushik Ganguly –
Great Mental Models
I read this a long time ago as far as JS/TS time goes, but the mental models it established in my head still serve me well. It establishes the why and what of TypeScript, the problems it solves, and a more general concept of what types are in any language, not just specifically in JS/TS. (One example: Gradual typing and why you should stay away from `any`.)While concepts are good to know, the book spends just enough time on them to lay the groundwork before getting into the details with examples that are immediately useful in your code. I definitely referred back to them when I started building real apps with TS.In short, highly recommended, whether you’re a new JS/TS dev or experienced. Don’t let the small size fool you. You’ll be able to put examples to use immediately, and the way of thinking about TS will serve you well even as the specific details of JS/TS/React/whatever never stop changing.
waldmka –
Very good book received in good condition. Took 12 days to receive it.
Took 12 days to get the book and I have Amazon Prime. Ordered 9/19 and didn’t receive until 9/30. The book was in good condition
Dmac –
Fantastic TypeScript book
This is the 3rd TypeScript book that I have purchased and is by far the best. I’m an experienced programmer so I don’t need basic programming concepts explained. I also like details on how things in the language work. This book accomplishes both. I had been using TypeScript for a year and a half before I got this book. Many questions that I had about how things worked were answered by this book. It has great explanations of generics and how classes work (type vs value). Highly recommend.
josh168 –
In-depth, thorough explanation
Prerequisites: You need to know JavaScript first.If you want an advanced, thorough explanation of TypeScript, this book is a good choice.
KTR73 –
Great intro to Typescript
This is one of the best introductions to a programming language that Iâve come across in a while. The author had a very casual style, but it worked for me. He covered a lot of ground without a ton of words, which I found refreshing. I refer back to this book frequently and typescript has become one of my favorite languages because of this book. I would highly recommend.
Olga V –
Lacks depth
This book is not for a serious TypeScript learner.I didn’t find many topics, many were glossed over.No getters/setters on classes, the async/await chapter section was a joke, this pretty important topic was dismissed as “just a syntactic sugar” without giving any explanation of how the transpile process handles it.The casual style of the author looks OK at first, but becomes annoying fast.Creating good abstractions is clearly not author’s forte, Keanu Reeves and Star Trek referrals clearly don’t help me understand type nuances better.The book should either be written in a more concise way or be thicker. Too much blabber in between every topic don’t make it a good reference book that I’d be using in the future.Verdict:1. Read once2. Put on the top shelf and forget about it.3. Use the TypeScript official documentation.
Keith –
Thorough
As someone who comes from a C# background, this book can easily be referenced and you can pick up TypeScript fairly quickly. So far, the only thing I disagree with the author is that types should always be declared rather than letting inference work it’s magic. My reasoning is that declaring types may be a few extra keystrokes, but the code becomes more explicit to another developer. That’s more subjective and isn’t enough to dock a star.
Just Some Guy –
This is a great book, but I wouldn’t recommend it as your very first TypeScript (TS) book unless youâre already very senior with BOTH ES6 AND a strongly typed coding language (C#, Java, Swift, etc.).If you’re at that level, this book is perfect for you. The author methodically covers all the language features of TS from bottom to top, with a really dense signal-to-noise ratio on almost every page (the occasional slightly-too-long geek-humor aside notwithstanding).IF you are NOT already senior in both ES6 and a typed language, I wouldn’t start with this book. Why not? I say that because the author’s writing style is very much targeted at those who already know all the vocabulary, and the usage/value/purpose, of most features he explains along the way. This is NOT a book that will teach you what these features are if you donât already know. He gives plenty of really good code examples, but as those features get more advanced you may struggle if you donât already have an understanding of the general meaning/purpose/value of those features. It’s a book that assumes you know _a_few_ other typed languages already, and you just want to learn how to do the things you’re already familiar with, using TypeScript.While I _am_ very experienced with JS/ES6, and I _have_ worked with typed languages before, I’ll admit I’m new to generic types (i.e. these guysâ¦, , etc.). I learned from this book that these are central to TS, and that they’re a super powerful abstraction feature. But honestly, I’m still super confused about how they work, how I’ll properly use them, etc.This book didn’t quite get me there with âgenericsâ, so I need to do some more reading (and hacking) to figure that all out. Since this is my first TS book, that’s fine â but while generics are the only thing I had real trouble with, unless you’re experienced with types in general there may a few other things that leave you confused after reading this book.Final word: This is a GREAT BOOK – but itâs NOT for beginners. If youâre not a ninja already, learn ES6 and TS basics elsewhere first, then come to this book when youâre ready for that one permanent reference book to keep on your desk until TypeScript goes out of style.
Oswaldo M. –
A mà hijo le gusto, que está muy bueno.
Erick –
Â
Vladimir Bystrov –
The book was delivered in 1 day, very good content about TypeScript for beginners, recommend it
DAMIAN VICINO –
I loved how book covered the topics, starting from the type system and all its little corner cases and how there is explanations of how the language had to get those corner cases to be able to actually exist.