Merging Namespaces Similarly to interfaces, namespaces of the same name will also merge their members. Since namespaces create both a namespace
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
Import a module for side-effects only Though not recommended practice, some modules set up some global state that can be used by other modules
Symbol.replace A regular expression method that replaces matched substrings of a string. Called by the String.prototype
Performance Improvements The 1.1 compiler is typically around 4x faster than any previous release. See
Global Plugin A global plugin is global code that changes the shape of some global. As with global-modifying modules
Constructor functions When you declare a class in TypeScript, you are actually creating multiple declarations at the same time. The first is
Parameter properties In our last example, we had to declare a readonly member name and a constructor parameter theName
gulp
Watchify We’ll start with Watchify to provide background compilation: npm
Page 27 of 29