Releases: hirotaka/openapi-typescript-vue
Releases · hirotaka/openapi-typescript-vue
[email protected]
Patch Changes
- #74
380f3f2Thanks @hirotaka! - Fix type errors and improve Vue reactivity support- Fix type error in useQuery by making queryKey reactive with computed() (#67)
- Fix type error in useMutation method wrapper (#68)
- Fix error type inference with conditional queries using SKIP token (#69)
- Add partial reactive support (queryKey only) following @orpc/vue-query pattern
- Remove @ts-expect-error comments and add clear explanations for necessary type assertions
- Document future type safety improvements in #72
[email protected]
Patch Changes
- #59
674541bThanks @hirotaka! - Fix TypeScript type compatibility with @tanstack/vue-query updates- Fix UseInfiniteQueryOptions type argument count (6 to 5)
- Add required getNextPageParam and initialPageParam parameters
- Replace empty object type {} with Record<string, any> for better type safety
- Remove unused Vue type imports
[email protected]
Patch Changes
- #12
c957bffThanks @hirotaka! - Fix Vue template TypeScript compatibility for useQuery- Update UseQueryMethod return type to include unwrapped data and error properties
- Enables direct property access in Vue templates (e.g.,
{{ data.title }},{{ error.message }}) - Maintains compatibility with Vue Query v5 while providing better TypeScript experience
- Resolves type errors when using noUncheckedIndexedAccess in strict TypeScript configurations