Skip to content

Commit efb2231

Browse files
riqtsmarkerikson
authored andcommitted
Cleanup imports from first pass
1 parent 928c22f commit efb2231

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
@@ -18,10 +18,11 @@ import type {
1818
SubscriptionState,
1919
} from '../apiState'
2020
import type {
21+
InfiniteQueryThunk,
2122
MutationThunk,
2223
QueryThunk,
2324
QueryThunkArg,
24-
ThunkResult,
25+
ThunkResult
2526
} from '../buildThunks'
2627

2728
export 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

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)