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" + } }