We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f0866 commit 1649cc5Copy full SHA for 1649cc5
src/data/action.ts
@@ -11,7 +11,7 @@ import type {
11
import { mockBase } from "../utils.js";
12
import { cacheKeyOp, hashKey, revalidate, query } from "./query.js";
13
14
-export type Action<T extends Array<any>, U, V = T> = (T extends [FormData] | []
+export type Action<T extends Array<any>, U, V = T> = (T extends [FormData | URLSearchParams] | []
15
? JSX.SerializableAttributeValue
16
: unknown) &
17
((...vars: T) => Promise<NarrowResponse<U>>) & {
0 commit comments