arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

fix(types): improve type definition for table-column title

Open DDDDD12138 opened this issue 8 months ago • 1 comments

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 feature branch and others should be submitted to main branch)

Other information

DDDDD12138 avatar Mar 17 '25 03:03 DDDDD12138