File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/toolkit/src/query/core/buildMiddleware Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ import type {
1818 SubscriptionState ,
1919} from '../apiState'
2020import type {
21+ InfiniteQueryThunk ,
2122 MutationThunk ,
2223 QueryThunk ,
2324 QueryThunkArg ,
24- ThunkResult ,
25+ ThunkResult
2526} from '../buildThunks'
2627
2728export type QueryStateMeta < T > = Record < string , undefined | T >
@@ -46,6 +47,7 @@ export interface BuildMiddlewareInput<
4647 context : ApiContext < Definitions >
4748 queryThunk : QueryThunk
4849 mutationThunk : MutationThunk
50+ infiniteQueryThunk : InfiniteQueryThunk
4951 api : Api < any , Definitions , ReducerPath , TagTypes >
5052 assertTagType : AssertTagTypes
5153}
@@ -105,7 +107,7 @@ export type ApiMiddlewareInternalHandler<Return = void> = (
105107) => Return
106108
107109export type InternalHandlerBuilder < ReturnType = void > = (
108- input : BuildSubMiddlewareInput | BuildInfMiddlewareInput ,
110+ input : BuildSubMiddlewareInput ,
109111) => ApiMiddlewareInternalHandler < ReturnType >
110112
111113export interface PromiseConstructorWithKnownReason {
You can’t perform that action at this time.
0 commit comments