TypeScript 2.0 Null- and undefined-aware types --strictNullChecks Example Assigned-before-use checking Example Optional parameters and properties Non-null and non-undefined...
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 2.3 空的泛型列表会被标记为错误 TypeScript 2.3 完整的破坏性改动列表请到这里查看:breaking change issues . 空的泛型列表会被标记为错误 示例 class X <> {} // Error: Type parameter list cannot be empty. ...