Getting Started with TypeScript: Includes Introduction to Angular. Write Professional JavaScript Code That Scales, Use Interfaces and Classes to Build Robust Code, Learn About Generics, Modules, Arrow Functions, Decorators, Declarations, Npm and Much More

Thomas Claudius Huber

Language: English

Published: Feb 9, 2017

Description:

This book covers features of TypeScript 2.1 like async/await and Angular 2 TypeScript is a JavaScript superset that supports static typing and compiles down to plain JavaScript. TypeScript gives you compile-time errors, great tooling support and the latest JavaScript features like classes, arrow functions and modules. You can compile these latest features down to a JavaScript version that is supported in today's browsers. The adoption of TypeScript is increasing and as a serious developer you should have that language definitely in your pocket! Join Thomas in this book to learn the TypeScript language. After you've set up your environment you get up to speed with basic types, interfaces, classes, functions, modules, decorators and you learn how to build modern, component-based web-applications with Angular and rock-solid TypeScript code. This book is structured into twelve chapters: Introduction Setting up Your Environment Using TypeScript Basic Types Var, Let and Const Interfaces and Classes Generics Functions (includes async/await) Modules Decorators Declaration Files Angular with TypeScript Now let's learn TypeScript, so that you can build your next JavaScript-based application with this amazing, popular language.