OpenAPI-Qraft / openapi-qraft

Generate a type-safe OpenAPI client for your React app
https://openapi-qraft.github.io/openapi-qraft/
MIT License
19 stars 1 forks source link

fix(tanstack-query-react-plugin): remove `as const` from `services` #75

Closed radist2s closed 1 month ago

radist2s commented 1 month ago

This PR removes as const from the services variable to ensure compatibility with older TypeScript versions. This change prevents potential errors and improves the library's accessibility.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: cbabbba20a831e8da4c94f6ce88c750bd0701b40

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------------------------ | ----- | | @openapi-qraft/tanstack-query-react-plugin | Patch | | @openapi-qraft/cli | Patch | | @openapi-qraft/react | Patch | | @openapi-qraft/plugin | Patch | | @openapi-qraft/openapi-typescript-plugin | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR