Skip to content

Commit

Permalink
fix: add type
Browse files Browse the repository at this point in the history
  • Loading branch information
KonghaYao committed May 8, 2024
1 parent 57e0a1c commit bc4c7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table-core/src/core/row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const createRow = <TData extends RowData>(
getAllCells: () => {
const leafColumns = table.getAllLeafColumns()
return leafColumns.map(column => {
return createCell(table, row, column, column.id)
return createCell(table, row as Row<TData>, column, column.id)
})
},

Expand Down

0 comments on commit bc4c7b6

Please sign in to comment.