Skip to content

Commit caad8ea

Browse files
codrclaude
andcommitted
fix(openapi-react-query): fix biome formatting on queryKey line
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 87d8639 commit caad8ea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • packages/openapi-react-query/src

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,11 @@ export default function createClient<Paths extends {}, Media extends MediaType =
204204
((method, path, init) => (init === undefined ? ([method, path] as const) : ([method, path, init] as const)));
205205

206206
const queryOptions: QueryOptionsFunction<Paths, Media> = (method, path, ...[init, queryOpts]) => ({
207-
queryKey: buildQueryKey(method, path as string, init) as DataTag<QueryKey<Paths, typeof method, typeof path>, any, any>,
207+
queryKey: buildQueryKey(method, path as string, init) as DataTag<
208+
QueryKey<Paths, typeof method, typeof path>,
209+
any,
210+
any
211+
>,
208212
queryFn: async ({ signal }) => {
209213
const mth = method.toUpperCase() as Uppercase<typeof method>;
210214
const fn = client[mth] as ClientMethod<Paths, typeof method, Media>;

0 commit comments

Comments
 (0)