Skip to content

Commit 78225d2

Browse files
committed
Fix linter errors
1 parent 16ba214 commit 78225d2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ export type UseInfiniteQueryMethod<Paths extends Record<string, Record<HttpMetho
125125
init: InitWithUnknowns<Init>,
126126
options: Options,
127127
queryClient?: QueryClient,
128-
) => UseInfiniteQueryResult<InferSelectReturnType<InfiniteData<Response["data"]>, Options["select"]>, Response["error"]>;
128+
) => UseInfiniteQueryResult<
129+
InferSelectReturnType<InfiniteData<Response["data"]>, Options["select"]>,
130+
Response["error"]
131+
>;
129132

130133
export type UseSuspenseQueryMethod<Paths extends Record<string, Record<HttpMethod, {}>>, Media extends MediaType> = <
131134
Method extends HttpMethod,

packages/openapi-react-query/test/index.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ describe("client", () => {
10871087
const allItems = result.current.data?.pages.flatMap((page) => page.items);
10881088
expect(allItems).toEqual([1, 2, 3, 4, 5, 6]);
10891089
});
1090-
it('should use return type from select option', async () => {
1090+
it("should use return type from select option", async () => {
10911091
const fetchClient = createFetchClient<paths>({ baseUrl });
10921092
const client = createClient(fetchClient);
10931093

0 commit comments

Comments
 (0)