1.TypeScript Language Features -- 2. Code Organization -- 3: The Type System -- 4. Object Orientation in TypeScript -- 5. The JavaScript Runtime -- 6. Running TypeScript in a Browser -- 7. Running TypeScript on a Server -- 8. Exceptions, Memory and Performance -- 9. Using JavaScript Libraries and Type Definitions -- 10. Automated testing -- Appendix A. JavaScript Quick Reference -- Appendix B. TypeScript Compiler -- Appendix C. Bitwise Flags -- Appendix D. Coding Katas.;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. Starting with an introduction to the language and its features, the book discusses some of the major features of TypeScript in depth, from working with the type system through object-orientation to understanding the runtime and the TypeScript compiler. The book then covers some of the factors to be considered when running a TypeScript application in the browser, including interacting with the DOM, making asynchronous requests, and working with useful browser APIs, followed by a demonstration of server-side TypeScript using the popular Node.js framework. Topics covered include: key TypeScript language features; how to work with the TypeScript type system; how to transfer object-orientation skills to TypeScript; useful JavaScript patterns and features that work well with TypeScript; how to consume existing JavaScript libraries in TypeScript program; how to run TypeScript in a web browser or on a server JavaScript is everywhere, both as a pure language and in popular libraries like Angular, jQuery and Knockout, but users of modern object-oriented languages like Java and C# often find JavaScript frustrating to use and hard to extend to large-scale applications. TypeScript is an innovative open source language from Microsoft that combines powerful language features and enhanced tooling support with the key attractions of JavaScript as a flexible, dynamic language that can run in any browser and on any operating system. Pro TypeScript tells you everything you need to know about this exciting ne .. Steve Fenton. The Expert's Voice In Typescript --cover. Includes Index.