From bc0f0b62ea809be1b5093a464c74b1ca3f906d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Tue, 27 Oct 2020 20:30:31 +0800 Subject: [PATCH] chore: resolutions fixed typescript version (#27407) * chore: resolutions fixed typescript version * docs: changelog --- CHANGELOG.en-US.md | 8 +++++++- CHANGELOG.zh-CN.md | 8 +++++++- package.json | 7 +++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 021aa52b36..b880db99f0 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -15,6 +15,12 @@ timeline: true --- +## 3.26.20 + +`2020-10-27` + +- 🐞 Fix Typescript definition issue with related Typescript version. + ## 3.26.19 `2020-10-25` @@ -2709,7 +2715,7 @@ We provide a [migration tool](https://github.com/ant-design/antd-migration-helpe - 🙅 Deprecated `onRowClick`, `onRowDoubleClick`, `onRowContextMenu`, `onRowMouseEnter`, `onRowMouseLeave`, please use `onRow` instead. ```javascript ({ + onRow={record => ({ onClick: () => {}, onDoubleClick: () => {}, onContextMenu: () => {}, diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 00fc92021a..7d95ed3917 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,12 @@ timeline: true --- +## 3.26.20 + +`2020-10-27` + +- 🐞 修复 Typescript 版本导致的定义问题。 + ## 3.26.19 `2020-10-25` @@ -2725,7 +2731,7 @@ timeline: true - 🙅 废弃以下属性 `onRowClick`,`onRowDoubleClick`、`onRowContextMenu`、`onRowMouseEnter`、`onRowMouseLeave`,请使用 `onRow` 代替。 ```javascript
({ + onRow={record => ({ onClick: () => {}, onDoubleClick: () => {}, onContextMenu: () => {}, diff --git a/package.json b/package.json index 57cf313233..0838670e26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "3.26.19", + "version": "3.26.20", "description": "An enterprise-class UI design language and React components implementation", "keywords": [ "ant", @@ -263,5 +263,8 @@ "maxSize": "60 kB" } ], - "title": "Ant Design" + "title": "Ant Design", + "resolutions": { + "typescript": "3.8.3" + } }