Skip to content

Commit bd874bd

Browse files
committed
refactor(openapi-react-query): simplify types
1 parent 3aeefab commit bd874bd

File tree

1 file changed

+1
-2
lines changed
  • packages/openapi-react-query/src

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,14 @@ export type UseInfiniteQueryMethod<Paths extends Record<string, Record<HttpMetho
118118
QueryKey<Paths, Method, Path>,
119119
Query[PageParamName]
120120
>,
121-
"queryKey" | "queryFn" | "initialPageParam"
121+
"queryKey" | "queryFn"
122122
>,
123123
>(
124124
method: Method,
125125
url: Path,
126126
init: InitWithUnknowns<Init>,
127127
options: Options & {
128128
pageParamName: PageParamName;
129-
initialPageParam: Query[PageParamName];
130129
},
131130
queryClient?: QueryClient,
132131
) => UseInfiniteQueryResult<InfiniteData<Response["data"]>, Response["error"]>;

0 commit comments

Comments
 (0)