Skip to content

Commit 507b9e1

Browse files
committed
docs(version): release 0.9.4
1 parent b8dea51 commit 507b9e1

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ toc: false
55
docClass: timeline
66
---
77

8+
## 0.9.4 `2022-03-04`
9+
10+
### Bug Fixes
11+
12+
* 修复在 `typescript` 严格模式下打包出错 ([issue #384](https://github.com/Tencent/tdesign-vue-next/issues/384))
13+
14+
815
## 0.9.3 `2022-03-04`
916

1017

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tdesign-vue-next",
33
"purename": "tdesign",
4-
"version": "0.9.3",
4+
"version": "0.9.4",
55
"title": "tdesign-vue-next",
66
"description": "TDesign Component for vue-next",
77
"keywords": [

src/checkbox/group.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ import { prefix } from '../config';
44
import Checkbox from './checkbox';
55
import checkboxGroupProps from './checkbox-group-props';
66
import { emitEvent } from '../utils/event';
7-
import { CheckboxOptionObj, TdCheckboxProps, CheckboxGroupValue, TdCheckboxGroupProps } from './type';
7+
import { CheckboxOptionObj, TdCheckboxProps, CheckboxGroupValue, CheckboxGroupChangeContext } from './type';
88

99
const name = `${prefix}-checkbox-group`;
1010

11-
type CheckedChangeType = Parameters<TdCheckboxGroupProps['onChange']>;
12-
1311
export default defineComponent({
1412
name: 'TCheckboxGroup',
1513
components: {
@@ -114,8 +112,8 @@ export default defineComponent({
114112
}
115113
return option.label;
116114
},
117-
emitChange(val: CheckboxGroupValue, context: CheckedChangeType[1]) {
118-
emitEvent<CheckedChangeType>(this, 'change', val, context);
115+
emitChange(val: CheckboxGroupValue, context: CheckboxGroupChangeContext) {
116+
emitEvent(this, 'change', val, context);
119117
},
120118
handleCheckboxChange(data: { checked: boolean; e: Event; option: TdCheckboxProps }) {
121119
const currentValue = data.option.value;

src/pagination/pagination.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineComponent, computed, ref, watch, h } from 'vue';
2-
import { isNaN } from 'lodash';
2+
import isNaN from 'lodash/isNaN';
33
import {
44
ChevronLeftIcon,
55
ChevronRightIcon,

0 commit comments

Comments
 (0)