This chapter has thoroughly discussed the different language constructs in TypeScript. We covered all three of the type categories: primitive types, object types, and type parameters. Primitive types are ones that have been built into the language such as Number, Boolean, and String. Object types range from classes to modules and allow us to construct organized components in our applications. Type parameters allow us to create generic functions and objects that can be used to operate on a variety of types. TypeScript relies heavily on JavaScript's closures when it is generating the different object types. Next, we are going to be looking at the TypeScript compiler and its various options.

TypeScript Essentials
By :

TypeScript Essentials
By:
Overview of this book
Table of Contents (15 chapters)
TypeScript Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started with TypeScript
TypeScript Basics
The TypeScript Compiler
Object-oriented Programming with TypeScript
Creating a Simple Drawing Application
Declaration Files and Library Integrations
Enhancing the Drawing Application
Debugging TypeScript
Index
Customer Reviews