We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb52ea commit 7edaa5cCopy full SHA for 7edaa5c
src/types/react-hooks.ts
@@ -71,7 +71,12 @@ export interface UseFetcherResult<
71
PathParams
72
>['data'],
73
mutationSettings?: MutationSettings,
74
- ) => void;
+ ) => Promise<FetchResponse<
75
+ ResponseData,
76
+ RequestBody,
77
+ QueryParams,
78
+ PathParams
79
+ > | null>;
80
/**
81
* Function to refetch the data from the server.
82
* This will trigger a new fetch operation and update the cache with the latest data.
0 commit comments