arco-design-vue
arco-design-vue copied to clipboard
fix(types): improve type definition for table-column title
Types of changes
- [ ] New feature
- [ ] Bug fix
- [ ] Enhancement
- [ ] Component style change
- [x] Typescript definition change
- [ ] Documentation change
- [ ] Coding style change
- [ ] Refactoring
- [ ] Test cases
- [ ] Continuous integration
- [ ] Breaking change
- [ ] Others
Background and context
fix: #3473
The title property in the TableColumn component should have the same type as the title property in the TableColumnData interface.
Solution
How is the change tested?
Changelog
| Component | Changelog(CN) | Changelog(EN) | Related issues |
|---|---|---|---|
| TableColumn | 完善 Table-column 组件 title 属性的类型定义以支持渲染函数 | Improved type definitions for Table-column's title property to support render functions | #3473 |
Checklist:
- [x] Test suite passes (
npm run test) - [x] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
- [x] Changes are submitted to the appropriate branch (e.g. features should be submitted to
featurebranch and others should be submitted tomainbranch)