From 37e64a0b8e2252a32d9dc171ef4b269e3edc1723 Mon Sep 17 00:00:00 2001 From: Tiago Souza <33164463+etc-tiago@users.noreply.github.com> Date: Thu, 10 Apr 2025 20:22:45 -0300 Subject: [PATCH] fix: get post types with "post" option --- packages/swr-openapi/src/mutate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/swr-openapi/src/mutate.ts b/packages/swr-openapi/src/mutate.ts index 4304026be..f1ac5c480 100644 --- a/packages/swr-openapi/src/mutate.ts +++ b/packages/swr-openapi/src/mutate.ts @@ -46,7 +46,7 @@ export function createMutateHook return useCallback( function mutate< - Path extends PathsWithMethod, + Path extends PathsWithMethod, R extends TypesForGetRequest, Init extends R["Init"], >(