fix(types): fix data type of useHookTable

This commit is contained in:
Soybean 2024-07-20 02:23:25 +08:00
parent 96c1044ffb
commit 276ea7fa2f

View File

@ -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()));