Optional Parameters and Rest Parameters When comparing functions for compatibility, optional and required parameters are interchangeable. Extra
Block-scoped variable capturing When we first touched on the idea of variable capturing with var declaration, we briefly went into
Module Resolution Strategies There are two possible module resolution strategies: Node and Classic. You can use the --moduleResolution
String Another fundamental part of creating programs in JavaScript for webpages and servers alike is working with textual data. As in other
Merging Namespaces with Classes This gives the user a way of describing inner classes.
Debug In Edge, press F12 and click the Debugger tab. Look in the first localhost folder, then src/app.ts
for..of statements for..of loops over an iterable object, invoking the Symbol.iterator property on the
Compiler Options Option Type Default Description --allowJs
Export statements Export statements are handy when exports need to be renamed for consumers, so the above example can be written as:
Intrinsic elements Intrinsic elements are looked up on the special interface JSX.IntrinsicElements. By default, if this interface
Page 25 of 29