Optional Parameters and Rest Parameters When comparing functions for compatibility, optional and required parameters are interchangeable. Extra
Add a TypeScript configuration file You’ll want to bring your TypeScript files together - both the code you’ll be writing as well as any necessary
Interfaces Extending Classes When an interface type extends a class type it inherits the members of the class but not their implementations
Initialize the project Now we’ll turn this folder into an npm package. npm
Mappings Compiler Option MSBuild Property Name Allowed Values -
Global augmentation You can also add declarations to the global scope from inside a module:
Block-scoping When a variable is declared using let, it uses what some call lexical-scoping or block-scoping
Grab our runtime dependencies We’ll need to grab Knockout itself, as well as something called RequireJS.
Write a simple Angular app in TypeScript First, change the code in app.ts to:
Create a new project Choose File Choose New Project (Ctrl + Shift + N) Choose Visual
Page 27 of 29