Learning TypeScript 2.x - Second Edition
內容描述
Key FeaturesLearn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScriptA comprehensive guide that explains the fundamentals of TypeScript with the help of practical examplesEnhance your web development skills and accelerate your development using TypeScript 2.xBook DescriptionTypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications.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 and the new features of TypeScript 2.x. Next, you will learn to automate your development workflow with tools such as Grunt. Following this, you will be explained in detail about function, generics, and callbacks. Post this, object-oriented features and the memory management functionality of TypeScript are explained in detail. Going forward, you will be introduced to Functional Programming with TypeScript and will delve into Asynchronous programming principles. Finally, you will be introduced to the performance parameters and will learn to test your application.By the end of this book, you will have learned enough to implement all the concepts with the latest features of TypeScript to build a single page application from scratch.What you will learnLearn the key TypeScript language features and language runtimeDevelop modular, scalable, maintainable, and adaptable web applicationsCreate object-oriented code that adheres to the solid principlesSave time using automation tools like Gulp, Webpack, Ts node and KarmaDevelop robust applications with testing (Mocha, Chai and SinonJS)Put your TypeScript skills into practice by developing a single-page web application framework from scratchUse the JavaScript of tomorrow (ES6 and ES7) today with TypeScript