fetcher seralization

This commit is contained in:
mrjvs
2023-09-06 15:09:52 +02:00
parent ec3efbd344
commit 637b3b635a
4 changed files with 33 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ export type FetcherOptions = {
headers?: Record<string, string>;
query?: Record<string, string>;
method?: 'GET' | 'POST';
body?: Record<string, any> | string | FormData;
body?: Record<string, any> | string | FormData | URLSearchParams;
};
export type DefaultedFetcherOptions = {