Skip to content

Commit 7fb3eda

Browse files
authored
fix: pass on type to use-select filter option (#8)
1 parent 1360703 commit 7fb3eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/data/use-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export type UseSelectConfig<Data = any> = {
2929

3030
export function useSelect<Data = any>(
3131
table: string,
32-
config: UseSelectConfig = { columns: '*', options: {} },
32+
config: UseSelectConfig<Data> = { columns: '*', options: {} },
3333
): UseSelectResponse<Data> {
3434
const client = useClient()
3535
const isMounted = useRef(false)

0 commit comments

Comments
 (0)