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...
TypeScript 1.4 Union types Overview Stricter Generics Better Type Inference let declarations const declarations Template strings Type Guards Type Aliases const enum (c...
TypeScript 2.2 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 ch...
TypeScript 2.3 Generators and Iteration for ES5/ES3 Iterators Generators New --downlevelIteration Async Iteration Async iterators Async Generators The for-await-of Stateme...
TypeScript 3.8 Type-Only Imports and Export ECMAScript Private Fields Which should I use? export * as ns Syntax Top-Level await es2020 for target and module JSDoc Prope...
TypeScript 4.4 Control Flow Analysis of Aliased Conditions and Discriminants Symbol and Template String Pattern Index Signatures Defaulting to the unknown Type in Catch Variabl...