Skip to content

Commit c55de7f

Browse files
committed
Try to fix exported types
1 parent c967de6 commit c55de7f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/toolkit/src/query/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export type {
2525
EndpointDefinition,
2626
EndpointBuilder,
2727
QueryDefinition,
28+
InfiniteQueryDefinition,
29+
InfiniteQueryExtraOptions,
2830
MutationDefinition,
2931
MutationExtraOptions,
3032
TagDescription,

packages/toolkit/src/query/react/buildHooks.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ import type {
88
Api,
99
ApiContext,
1010
ApiEndpointMutation,
11+
ApiEndpointInfiniteQuery,
1112
ApiEndpointQuery,
1213
BaseQueryFn,
1314
CoreModule,
1415
EndpointDefinitions,
16+
InfiniteQueryDefinition,
1517
MutationActionCreatorResult,
1618
MutationDefinition,
1719
MutationResultSelectorResult,
@@ -50,8 +52,7 @@ import { UNINITIALIZED_VALUE } from './constants'
5052
import type { ReactHooksModuleOptions } from './module'
5153
import { useStableQueryArgs } from './useSerializedStableValue'
5254
import { useShallowStableValue } from './useShallowStableValue'
53-
import type { InfiniteQueryDefinition } from '@internal/query/endpointDefinitions'
54-
import type { ApiEndpointInfiniteQuery } from '@internal/query/core/module'
55+
5556
import type { InfiniteQueryActionCreatorResult } from '@internal/query/core/buildInitiate'
5657
import type {
5758
InfiniteData,

0 commit comments

Comments
 (0)