Protected The new protected modifier in classes works like it does in familiar languages like C++, C#, and Java. A protected
Re-export to extend Often you will need to extend functionality on a module. A common JS pattern is to augment the original object with extensions
Initialize the project Now we’ll turn this folder into an npm package. npm
NuGet Right-Click -> Manage NuGet Packages Search for Microsoft.TypeScript.MSBuild Hit Install
compileOnSave Setting a top-level property compileOnSave signals to the IDE to generate all files for a given tsconfig
Symbol.search A regular expression method that returns the index within a string that matches the regular expression. Called by
Array destructuring The simplest form of destructuring is array destructuring assignment:
Symbol.match A regular expression method that matches the regular expression against a string. Called by the String.prototype
The as operator Recall how to write a type assertion: var
Union Types Union types are closely related to intersection types, but they are used very differently. Occasionally, you’ll run into a library
Page 17 of 29