Skip to content

Commit

Permalink
fix(types): fix data type of useHookTable
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jul 19, 2024
1 parent 96c1044 commit 276ea7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/src/use-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function useHookTable<A extends ApiFn, T, C>(config: TableConfig<

const allColumns = ref(config.columns()) as Ref<C[]>;

const data: Ref<T[]> = ref([]);
const data: Ref<TableDataWithIndex<T>[]> = ref([]);

const columnChecks: Ref<TableColumnCheck[]> = ref(getColumnChecks(config.columns()));

Expand Down

0 comments on commit 276ea7f

Please sign in to comment.