You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/toolkit/src/query/core/module.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ import type {
34
34
CombinedState,
35
35
MutationKeys,
36
36
QueryKeys,
37
-
RootState,
37
+
ApiRootState,
38
38
}from'./apiState'
39
39
importtype{
40
40
BuildInitiateApiEndpointMutation,
@@ -157,7 +157,7 @@ export interface ApiModules<
157
157
*/
158
158
middleware: Middleware<
159
159
{},
160
-
RootState<Definitions,string,ReducerPath>,
160
+
ApiRootState<Definitions,string,ReducerPath>,
161
161
ThunkDispatch<any,any,UnknownAction>
162
162
>
163
163
/**
@@ -274,7 +274,7 @@ export interface ApiModules<
274
274
*/
275
275
updateQueryData: UpdateQueryDataThunk<
276
276
Definitions,
277
-
RootState<Definitions,string,ReducerPath>
277
+
ApiRootState<Definitions,string,ReducerPath>
278
278
>
279
279
280
280
/**
@@ -298,7 +298,7 @@ export interface ApiModules<
298
298
*/
299
299
upsertQueryData: UpsertQueryDataThunk<
300
300
Definitions,
301
-
RootState<Definitions,string,ReducerPath>
301
+
ApiRootState<Definitions,string,ReducerPath>
302
302
>
303
303
/**
304
304
* A Redux thunk that applies a JSON diff/patch array to the cached data for a given query result. This immediately updates the Redux state with those changes.
@@ -328,7 +328,7 @@ export interface ApiModules<
328
328
*/
329
329
patchQueryData: PatchQueryDataThunk<
330
330
Definitions,
331
-
RootState<Definitions,string,ReducerPath>
331
+
ApiRootState<Definitions,string,ReducerPath>
332
332
>
333
333
334
334
/**
@@ -381,7 +381,7 @@ export interface ApiModules<
381
381
* Can be used for mutations that want to do optimistic updates instead of invalidating a set of tags, but don't know exactly what they need to update.
0 commit comments