Skip to content

Commit

Permalink
Fix infinite query selector arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Dec 14, 2024
1 parent 1769cec commit ac4bac1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/toolkit/src/query/core/buildSelectors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { InternalSerializeQueryArgs } from '../defaultSerializeQueryArgs'
import type {
EndpointDefinitions,
InfiniteQueryArgFrom,
InfiniteQueryDefinition,
MutationDefinition,
QueryArgFrom,
Expand Down Expand Up @@ -108,7 +109,7 @@ type InfiniteQueryResultSelectorFactory<
Definition extends InfiniteQueryDefinition<any, any, any, any, any>,
RootState,
> = (
queryArg: QueryArgFrom<Definition> | SkipToken,
queryArg: InfiniteQueryArgFrom<Definition> | SkipToken,
) => (state: RootState) => InfiniteQueryResultSelectorResult<Definition>

export type InfiniteQueryResultSelectorResult<
Expand Down

0 comments on commit ac4bac1

Please sign in to comment.