Skip to content

Commit 944502d

Browse files
committed
fix lint
1 parent c275270 commit 944502d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/openapi-fetch/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export interface MiddlewareCallbackParams {
152152
type MiddlewareOnRequest = (
153153
options: MiddlewareCallbackParams & {
154154
/** body as provided to the original openapi-fetch function, pre-serialization */
155-
body?: unknown
155+
body?: unknown;
156156
},
157157
) => void | Request | Response | undefined | Promise<Request | Response | undefined | void>;
158158
type MiddlewareOnResponse = (

packages/openapi-fetch/test/middleware/middleware.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ test("receives OpenAPI options passed in from parent", async () => {
301301

302302
const client = createObservedClient<paths>();
303303
client.use({
304-
onRequest({ schemaPath, params , body }) {
304+
onRequest({ schemaPath, params, body }) {
305305
receivedPath = schemaPath;
306306
receivedParams = params;
307307
receivedBody = body;

0 commit comments

Comments
 (0)