Table of contents : Install TypeScrip Build your first TypeScript application Interfaces Classes Run the TypeScript web application Basic data types Boolean values Number String Array Tuple Multiple constants (enum) Type Any Type Void Type Never Type Object Type assertions Note about the keyword let Declaring variables Statements by var Scoping rules Variable capturing quirks Let statements Block-scoping Block-scoped variable capturing Const statements Destructuring Array destructuring Object destructuring Property renaming Default values Function declarations Spread Interfaces Simple interface Optional features Readonly properties Readonly vs. const Function Types Indexable Types Class Types Expand the interfaces Hybrid Types Expanding the facades Varieties in TypeScript
Types of functions Type the function type Type the function type Type inference Default and optional transactions And function Remaining transactions (Rest Parameters) Keywords this Keywords this and arrow functions Parameters of this This parameters in callbacks Overloads Types generalized in TypeScript
Generalized Types
Generalized Classes Generalized Constraints Use of generalized constraints in species transactions Use of Class Types in Generics Multiple constants in TypeScript Numeric enums String enums Heterogeneous multiple constants Ambient enums Callback Types Optional transactions in callback functions