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 @@ -19,10 +19,11 @@ import type {
1919 SubscriptionState ,
2020} from '../apiState'
2121import type {
22+ InfiniteQueryThunk ,
2223 MutationThunk ,
2324 QueryThunk ,
2425 QueryThunkArg ,
25- ThunkResult ,
26+ ThunkResult
2627} from '../buildThunks'
2728import type { QueryActionCreatorResult } from '../buildInitiate'
2829
@@ -48,6 +49,7 @@ export interface BuildMiddlewareInput<
4849 context : ApiContext < Definitions >
4950 queryThunk : QueryThunk
5051 mutationThunk : MutationThunk
52+ infiniteQueryThunk : InfiniteQueryThunk
5153 api : Api < any , Definitions , ReducerPath , TagTypes >
5254 assertTagType : AssertTagTypes
5355}
@@ -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