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 Annotation 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 EditionCoverage of major changes to modules, namespaces, and module loadingNew guidance on how to use inference to reduce the effort of using TypeScriptRecommendations on compiler optionsA wide range of feature updates from intersections and tuples to async/await and the new approach to mixinsWhat You'll LearnUnderstand the TypeScript type system, and how to use it effectivelyApply object-oriented design using TypeScriptUse modules effectively to manage large programsIntegrate existing frameworks and libraries into your TypeScript programWho This Book Is ForWeb developers looking for a modern approach to JavaScript development "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."--Page 4 de la couverture Front Matter ....Pages i-xxvii TypeScript Language Features (Steve Fenton)....Pages 1-62 Code Organization (Steve Fenton)....Pages 63-82 The Type System (Steve Fenton)....Pages 83-97 Object Orientation in TypeScript (Steve Fenton)....Pages 99-127 Understanding the Runtime (Steve Fenton)....Pages 129-157 Running TypeScript in a Browser (Steve Fenton)....Pages 159-193 Running TypeScript on a Server (Steve Fenton)....Pages 195-216 Exceptions, Memory, and Performance (Steve Fenton)....Pages 217-232 Using JavaScript Libraries (Steve Fenton)....Pages 233-243 Automated Testing (Steve Fenton)....Pages 245-256 Back Matter ....Pages 257-287