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 Microsoft MVP for Visual Studio and Development Technologies. He has been sharing his passion for TypeScript since October 2012, presenting at developer meet-ups, running training sessions, and answering questions on Stack Overflow. He has worked on large-scale JavaScript applications for over 14 years, and with TypeScript for over five years. In his spare time, he writes unit-testing frameworks, behavior-driven development frameworks, and web crawlers. He lives in Basingstoke, United Kingdom with his wife Rebecca and daughter Lily, and enjoys studying psychology and philosophy.