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 Sep 8, 2024
1 parent cb5bf07 commit 3dd78d4
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 3dd78d4

Please sign in to comment.