Skip to content

Commit

Permalink
fix: return type of ColumnDefTemplate (#4088)
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Jul 2, 2022
1 parent dbc818c commit 06c45da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export type AccessorFn<TData extends RowData> = (

export type ColumnDefTemplate<TProps extends object> =
| string
| ((props: TProps) => unknown)
| ((props: TProps) => any)

export type ColumnDef<TData extends RowData> = CoreColumnDef<TData> &
VisibilityColumnDef &
Expand Down

0 comments on commit 06c45da

Please sign in to comment.