Dynamic Import Expressions String Enums Improved inference for generics Return types as inference targets Type parameter inference from contextual types Stricter checking for g...
Optional catch clause variables Type assertion/cast syntax in checkJs /@ts-check mode Deduplicated and redirected packages The --preserveSymlinks compiler flag Optional c...
TypeScript 2.3 空的泛型列表会被标记为错误 TypeScript 2.3 完整的破坏性改动列表请到这里查看:breaking change issues . 空的泛型列表会被标记为错误 示例 class X <> {} // Error: Type parameter list cannot be empty. ...
Mapped types on tuples and arrays Properties declarations on functions Version selection with typesVersions Matching behavior Multiple fields Mapped types on tuples and ar...
Faster subsequent builds with the --incremental flag Composite projects outFile Higher order type inference from generic functions Improvements for ReadonlyArray and readonl...
Speed improvements Type-checking speed-ups --incremental improvements The Omit helper type Improved excess property checks in union types The --allowUmdGlobalAccess flag S...