Skip to content

Commit

Permalink
TypeScript 4.2 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongsp committed Mar 14, 2021
1 parent 3551302 commit 31b599f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -4,9 +4,9 @@

🏮 祝所有开发者:牛年大吉!🏮

<img src="./zh/misc/ts_logo.jpg" alt="TypeScript" width="24px" height="24px" style="vertical-align: bottom;"> [TypeScript 4.1 (November 19, 2020)](https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/)
<img src="./zh/misc/ts_logo.jpg" alt="TypeScript" width="24px" height="24px" style="vertical-align: bottom;"> [TypeScript 4.2 (February 23, 2021)](https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/)
|
[版本发布说明](./release-notes/typescript-4.1.md)
[版本发布说明](./release-notes/typescript-4.2.md)

:heavy_check_mark: TypeScript语言用于大规模应用的JavaScript开发。 :heavy_check_mark: TypeScript支持类型,是JavaScript的超集且可以编译成纯JavaScript代码。 :heavy_check_mark: TypeScript兼容所有浏览器,所有宿主环境,所有操作系统。 :heavy_check_mark: TypeScript是开源的。

Expand Down Expand Up @@ -91,6 +91,7 @@
* [架构概述](zh/wiki/architectural-overview.md)
* [发展路线图](zh/wiki/roadmap.md)
* [新增功能](zh/release-notes/README.md)
* [TypeScript 4.2](zh/release-notes/typescript-4.2.md)
* [TypeScript 4.1](zh/release-notes/typescript-4.1.md)
* [TypeScript 4.0](zh/release-notes/typescript-4.0.md)
* [TypeScript 3.9](zh/release-notes/typescript-3.9.md)
Expand Down
2 changes: 2 additions & 0 deletions zh/release-notes/typescript-4.2.md
Expand Up @@ -513,6 +513,7 @@ sortOfArrayish = numberKeys;

![一个未被声明的 `foo` 函数被调用了,使用快速修复](https://devblogs.microsoft.com/typescript/wp-content/uploads/sites/11/2021/01/addMissingFunction-4.2.gif)

<!--
## Breaking Changes
We always strive to minimize breaking changes in a release.
Expand Down Expand Up @@ -671,3 +672,4 @@ const baz = `hello ${yourName}`;
TypeScript has a `visitNode` function that takes a `lift` function.
`lift` now expects a `readonly Node[]` instead of a `NodeArray<Node>`.
This is technically an API breaking change which you can read more on [here](https://github.com/microsoft/TypeScript/pull/42000).
-->

0 comments on commit 31b599f

Please sign in to comment.