Skip to content

Commit 255d5d0

Browse files
committed
fix(openapi-react-query): update peer dependency @tanstack/react-query to ^5.80.0 and fix type error in UseInfiniteQueryOptions
1 parent 99c346e commit 255d5d0

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

packages/openapi-react-query/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"openapi-typescript-helpers": "workspace:^"
5858
},
5959
"devDependencies": {
60-
"@tanstack/react-query": "^5.75.1",
60+
"@tanstack/react-query": "^5.80.0",
6161
"@testing-library/react": "^16.3.0",
6262
"@types/react": "18.3.21",
6363
"@vitejs/plugin-react": "^4.4.1",
@@ -69,7 +69,7 @@
6969
"react-error-boundary": "^6.0.0"
7070
},
7171
"peerDependencies": {
72-
"@tanstack/react-query": "^5.25.0",
72+
"@tanstack/react-query": "^5.80.0",
7373
"openapi-fetch": "workspace:^"
7474
}
7575
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export type UseInfiniteQueryMethod<Paths extends Record<string, Record<HttpMetho
111111
Response["data"],
112112
Response["error"],
113113
InferSelectReturnType<InfiniteData<Response["data"]>, Options["select"]>,
114-
Response["data"],
115114
QueryKey<Paths, Method, Path>,
116115
unknown
117116
>,

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)