TypeScript 3.2 strictBindCallApply 警告 对象字面量的泛型展开表达式 泛型对象剩余变量和参数 BigInt 警告 Non-unit types as union discriminants tsconfig.json 可以通过Node.js包来继承 The new --showConfig flag J...
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...
Union types Overview Stricter Generics Better Type Inference let declarations const declarations Template strings Type Guards Type Aliases const enum (completely inline...
JSX support New .tsx file extension and as operator Using React Using other JSX framworks Output generation Intersection types Example Local type declarations Class expre...
async /await support in ES6 targets (Node v4+) Example Support for --target ES6 with --module Example this -typing ES7 exponentiation operator Example Improved checking f...
keyof and Lookup Types Example Example Mapped Types Partial , Readonly , Record , and Pick Object Spread and Rest Downlevel Async Functions Example tsconfig.json dramatic...
Dynamic Import Expressions String Enums Improved inference for generics Return types as inference targets Type parameter inference from contextual types Stricter checking for g...