Apply prettier to pendingRequestsMiddleware

This commit is contained in:
mvdbeek
2026-04-28 17:20:21 +02:00
parent 6463c24e1b
commit 3408a8e9ef
@@ -20,8 +20,7 @@ export const pendingRequestsMiddleware: Middleware = {
const shared = getPendingAbortSignal();
// Combine with any signal the caller may have set so we don't silently
// drop their cancellation semantics.
const signal =
typeof AbortSignal.any === "function" ? AbortSignal.any([request.signal, shared]) : shared;
const signal = typeof AbortSignal.any === "function" ? AbortSignal.any([request.signal, shared]) : shared;
return new Request(request, { signal });
},
};