Using TypeScript --no-check option Using external type definitions Compiler hint Triple-slash reference directive in JavaScript files X-TypeScript-Types custom header Custom ...
Using TypeScript --no-check option Using external type definitions Compiler hint Triple-slash reference directive in JavaScript files X-TypeScript-Types custom header Custom ...
Performance Improvements Better Module Visibility Rules Performance Improvements The 1.1 compiler is typically around 4x faster than any previous release. See this blog post f...
Type parameters as constraints Example Control flow analysis errors Unreachable code Example Unused labels Example Implicit returns Example Case clause fall-throughs Examp...
Support for Mix-in classes First some terminology Putting all of the above rules together in an example object type Support for new.target Example Better checking for null ...
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 ’// ...
Conditional Types Example Distributive conditional types Example Example Example Type inference in conditional types Predefined conditional types Example Improved control ...