Skip to content

Commit 2d58473

Browse files
riqtsmarkerikson
authored andcommitted
Cleanup imports from first pass
1 parent 6215273 commit 2d58473

File tree

1 file changed

+4
-2
lines changed
  • packages/toolkit/src/query/core/buildMiddleware

1 file changed

+4
-2
lines changed

packages/toolkit/src/query/core/buildMiddleware/types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ import type {
1919
SubscriptionState,
2020
} from '../apiState'
2121
import type {
22+
InfiniteQueryThunk,
2223
MutationThunk,
2324
QueryThunk,
2425
QueryThunkArg,
25-
ThunkResult,
26+
ThunkResult
2627
} from '../buildThunks'
2728
import 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

107109
export type InternalHandlerBuilder<ReturnType = void> = (
108-
input: BuildSubMiddlewareInput | BuildInfMiddlewareInput,
110+
input: BuildSubMiddlewareInput,
109111
) => ApiMiddlewareInternalHandler<ReturnType>
110112

111113
export interface PromiseConstructorWithKnownReason {

0 commit comments

Comments
 (0)