Book Description:
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.
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.
Who This Book Is For
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.
What You Will Learn
- Learn the key TypeScript language features and language runtime
- Develop modular, scalable, maintainable, and adaptable web applications
- Create object-oriented code that adheres to the solid principles
- Save time using automation tools like Gulp and Karma
- Develop robust applications with testing (Mocha, Chai and SinonJS)
- Put your TypeScript skills in practice by developing a single-page web application framework from scratch
- Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript