Skip to content

Commit 1e20f12

Browse files
committed
Fixe select types
1 parent 6f545cd commit 1e20f12

File tree

1 file changed

+6
-4
lines changed
  • packages/openapi-react-query/src

1 file changed

+6
-4
lines changed

packages/openapi-react-query/src/index.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ export type UseInfiniteQueryMethod<Paths extends Record<string, Record<HttpMetho
104104
UseInfiniteQueryOptions<
105105
Response["data"],
106106
Response["error"],
107+
InfiniteData<Response["data"]>,
107108
Response["data"],
108-
number,
109-
QueryKey<Paths, Method, Path>
109+
QueryKey<Paths, Method, Path>,
110+
unknown
110111
>,
111112
"queryKey" | "queryFn"
112113
>
@@ -207,8 +208,9 @@ export default function createClient<Paths extends {}, Media extends MediaType =
207208
Response["data"],
208209
Response["error"],
209210
Response["data"],
210-
number,
211-
QueryKey<Paths, Method, Path>
211+
Response["data"],
212+
QueryKey<Paths, Method, Path>,
213+
unknown
212214
>,
213215
"queryKey" | "queryFn"
214216
>,

0 commit comments

Comments
 (0)