We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1360703 commit 7fb3edaCopy full SHA for 7fb3eda
src/hooks/data/use-select.ts
@@ -29,7 +29,7 @@ export type UseSelectConfig<Data = any> = {
29
30
export function useSelect<Data = any>(
31
table: string,
32
- config: UseSelectConfig = { columns: '*', options: {} },
+ config: UseSelectConfig<Data> = { columns: '*', options: {} },
33
): UseSelectResponse<Data> {
34
const client = useClient()
35
const isMounted = useRef(false)
0 commit comments