Explore the features of this innovative open source language in depth, from working with the type system through object-orientation to understanding the runtime and the TypeScript compiler. This fully revised and updated second edition of Steve Fenton’s popular book covers everything you need to discover this fascinating language and transform your experience of JavaScript development.
What’s New in This Edition • Coverage of major changes to modules, namespaces, and module loading • New guidance on how to use inference to reduce the effort of using TypeScript • Recommendations on compiler options • A wide range of feature updates from intersections and tuples to async/await and the new approach to mixins
What You’ll Learn • Understand the TypeScript type system, and how to use it effectively • Apply object-oriented design using TypeScript • Use modules effectively to manage large programs • Integrate existing frameworks and libraries into your TypeScript program
Who This Book Is For Web developers looking for a modern approach to JavaScript development
Steve Fenton is a Principal DevEx Researcher at Octopus Deploy, a DORA Community Guide, and a seven-time Microsoft MVP for developer technologies. He’s a Software Punk, an author, a programming-architect, a pragmatist/abstractionist, and a generalising-generalist. He has written books on TypeScript, Octopus Deploy, and Web Operations Monitoring.
This is an excellent book if you want to get to get to know Typescript. It's written with attention to detail, plenty of solid examples, and gives a pretty good deep dive. I know it's a small thing, but I also appreciated the variety of quotes from old software development luminaries (you just don't expect that sort of thing in a JavaScript book). There were a couple chapters that weren't very interesting to me, but overall, when discussing the core topic, this book was very helpful.
There were several good things I have taken away from this book, but it still feels a bit padded, although if you wanted not only TS but a lot of JS, you will find it here. Though I would have preferred a shorter read.
I started reading this book, after I started working with Angular 2. First time when I saw Angular 2 (most of the time I worked with PHP and I'm more like a backend developer) I was like wtf, I can't follow anything and why the things are so complicated, but in a fact I was unaware how JavaScript progressed. So, to start with Angular 2, I decided to dig a bit into TypeScript and this book was the perfect shoot.
The book gives you an overview about TypeScript, pros and cons, and starts immediately with some really good examples and explanations. Lot of the story I just re-learned (lot of the things are almost the same as in C language), and after reading first three chapters you will be able to follow Angular 2 official tutorials and you will understand what is happening there.
This is a phenomenal book. One of the best programming books I have ever read. If you want to learn TypeScript, this is the book. I'm only mildly familiar with JavaScript, and this book was perfect for me. Absolutely brilliant. Clear, concise, easy to read, well-written. Just an all around excellent book.
Fenton has written a good, concise, and thorough-enough introduction to TypeScript for the experienced programmer. A wide range of topics are covered, some only enough to give one familiarity as they dig into the topic themselves. Some guidance on idiomatic TS and best practices was appreciated, and even more discussion of these things--especially at scale--would have been appreciated. I'll definitely be reviewing my notes of this book soon. Recommended, if you want to get up to speed quickly on TypeScript and you have a decent amount of JavaScript grounding.
Really feels like I got my money's worth. The author get straight to the point without leaving you feeling like he's leaving anything out. Easy to follow along - truly a great read.
This is a comprehensive overview of TypeScript features and some development practices.
The book was quite dry to read, and might be incomprehensible to those who are not familiar with (modern) JavaScript development, as it references JS features, but doesn't really stop to explain them. If you're a JS programmer who wants to convert, this is probably a good book. But if you want to get started with web development and want to skip the JS stage, look elsewhere.
This is a good intro to TypeScript. All of it had value, but as the lines blur between JavaScript and TypeScript, there are several chapters that I didn't feel were needed in this volume. They contained standard JavaScript concepts available elsewhere.
You should know about Typescript because book has advanced topics. Some examples are poor content . Only one reading is not enough for this book. You can need one more reading. I recommend this book for frontend developer using javascript frameworks.