Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(HeaderCell): fix type extension (#448)
``` node_modules/rsuite-table/lib/HeaderCell.d.ts:4:18 - error TS2430: Interface 'HeaderCellProps' incorrectly extends interface 'InnerCellProps'. Types of property 'onResize' are incompatible. Type '((columnWidth?: number | undefined, dataKey?: string | undefined) => void) | undefined' is not assignable to type 'ReactEventHandler<HTMLElement> | undefined'. Type '(columnWidth?: number | undefined, dataKey?: string | undefined) => void' is not assignable to type 'ReactEventHandler<HTMLElement>'. Types of parameters 'columnWidth' and 'event' are incompatible. Type 'SyntheticEvent<HTMLElement, Event>' is not assignable to type 'number'. 4 export interface HeaderCellProps extends InnerCellProps { ~~~~~~~~~~~~~~~ ```
- Loading branch information
a8c9246
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
rsuite-table – ./
rsuite-table.vercel.app
rsuite-table-rsuite.vercel.app
rsuite-table-git-main-rsuite.vercel.app
table.rsuitejs.com