TypeScript 1.1 Performance Improvements Better Module Visibility Rules TypeScript 1.1 Performance Improvements The 1.1 compiler is typically around 4x faster than any previ...
TypeScript 1.7 async/await support in ES6 targets (Node v4+) Example Support for —target ES6 with —module Example this-typing ES7 exponentiation operator Example Improved c...
TypeScript 1.8 Type parameters as constraints Example Control flow analysis errors Unreachable code Example Unused labels Example Implicit returns Example Case clause fal...
TypeScript 2.5 Optional catch clause variables Type assertion/cast syntax in checkJs/@ts-check mode Deduplicated and redirected packages The —preserveSymlinks compiler flag ...
Protected Tuple types Protected The new protected modifier in classes works like it does in familiar languages like C++, C#, and Java. A protected member of a class is visib...
Null- and undefined-aware types —strictNullChecks Example Assigned-before-use checking Example Optional parameters and properties Non-null and non-undefined type guards Examp...
keyof and Lookup Types Example Example Mapped Types Partial, Readonly, Record, and Pick Object Spread and Rest Downlevel Async Functions Example tsconfig.json dramaticWelco...
Strict function types Example Note Cache tagged template objects in modules Example Localized diagnostics on the command line Example Suppress errors in .ts files using ‘// ...
Project References Tuples in rest parameters and spread expressions Rest parameters with tuple types Spread expressions with tuple types Generic rest parameters Example Optio...