TypeScript 4.2 版本迭代计划

Lasted 2020-12-03 19:39:25

Daniel Rosenwasser 在 GitHub 上发布了 TypeScript 4.2 版本的迭代计划,包括一些 4.2 版本的新特性和改进。

时间 计划
2020-11-19 TypeScript 4.1 Release
2021-01-04 Create 4.2 Beta (4.2.0) Build for Testing
2021-01-07 TypeScript 4.2 Beta Release
2021-02-05 Create 4.2 RC (4.2.1) Build for Testing
2021-02-09 TypeScript 4.2 RC Release
2021-02-19 Create 4.2 Final (4.2.2) Build for Testing
2021-02-23 TypeScript 4.2 Final Release?
已过期

TypeScript 4.2 版本预计于 2021-02-23 发布

新特性

  • checkGeneralized index signatures
  • checkLeading/middle rest elements in tuple types
  • check--noImplicitOverride
  • check--noPropertyAccessFromIndexSignature
  • checkstatic Index Signatures
  • checkInvestigate typeof class
  • checkReview the project setup experience
  • checkInvestigate faster compile-time iteration

编辑效率

  • checkDeclare missing helper function
  • checkEnable running TSServer in a worker thread
  • checkAnticipated bug fixes and UX improvements for partial semantic mode
  • checkInvestigate high-confidence "did you mean?" in JS

性能

  • checkProfiling/Tracing Mode Improvements