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 18e4845 commit 08dcaedCopy full SHA for 08dcaed
docs/rtk-query/api/created-api/hooks.mdx
@@ -277,7 +277,7 @@ type UseQueryResult<T> = {
277
isSuccess: boolean // Query has data from a successful load.
278
isError: boolean // Query is currently in an "error" state.
279
280
- refetch: () => Promise<void> // A function to force refetch the query
+ refetch: () => QueryActionCreatorResult // A function to force refetch the query - returns a Promise with additional methods
281
}
282
```
283
0 commit comments