Learning TypeScript
Remo H. Jansen
Packt Publishing
<p><b>Exploit the features of TypeScript to develop and maintain captivating web applications with ease</b></p>About This Book<ul><li>Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript</li><li>Create object-oriented JavaScript that adheres to the solid principles efficiently</li><li>A comprehensive guide that explains the fundamentals of TypeScript with the help of practical examples</li></ul>Who This Book Is For<p>If you are a JavaScript developer aiming to learn TypeScript to build beautiful web applications, then this book is for you. No prior knowledge of TypeScript is required.</p>What You Will Learn<ul><li>Learn the key TypeScript language features and language runtime</li><li>Develop modular, scalable, maintainable, and adaptable web applications</li><li>Create object-oriented code that adheres to the solid principles</li><li>Save time using automation tools like Gulp and Karma</li><li>Develop robust applications with testing (Mocha, Chai and SinonJS)</li><li>Put your TypeScript skills in practice by developing a single-page web application framework from scratch</li><li>Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript</li></ul>In Detail<p>TypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. It allows developers to use the future versions of JavaScript (ECMAScript 6 and 7) today. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications.</p><p>This book is a step-by-step guide that will get you started with TypeScript with the help of practical examples. You start off by understanding the basics of TypeScript. Next, automation tools like Grunt are explained followed by a detailed description of function, generics, callbacks and promises. After this, object-oriented features and the memory management functionality of TypeScript are explained. At the end of this book, you will have learned enough to implement all the concepts and build a single page application from scratch.</p>Style and approach<p>This is a step-by-step guide that covers the fundamentals of TypeScript with practical examples. Each chapter introduces a set of TypeScript language features and leads the readers toward the development of a real-world application.</p>