Using TypeScript Using TypeScript In this chapter we will discuss: Overview of TypeScript in Deno Configuring TypeScript in Deno Types and Type Declarations Migrating to/fr...
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 ...