Install our dependencies First ensure TypeScript, Typings, and webpack are installed globally.
Generics Because TypeScript is a structural type system, type parameters only affect the resulting type when consumed as part of the type of
Set up the build Right click on the project and click New Item. Then choose TypeScript Configuration File
Readonly modifier You can make properties readonly by using the readonly keyword. Readonly properties must be initialized at their
Schema Schema can be found at: http://json.schemastore.org/tsconfig
Decorator Evaluation There is a well defined order to how decorators applied to various declarations inside of a class are applied:
Global-modifying Modules A global-modifying module alters existing values in the global scope when they are imported. For
const declarations const declarations are another way of declaring variables.
Null- and undefined-aware types TypeScript has two special types, Null and Undefined, that have the values null and undefined
Attribute type checking The first step to type checking attributes is to determine the element attributes type. This is slightly different
Page 4 of 29