Skip to content

Commit

Permalink
fix imports and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Feb 14, 2024
1 parent 9a4cdaa commit a131b32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/src/query/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type {
TypedLazyQueryTrigger,
TypedUseLazyQuery,
TypedUseMutation,
TypedUseMutationTrigger,
TypedMutationTrigger,
TypedUseQueryState,
TypedUseQuery,
TypedUseQuerySubscription,
Expand Down
4 changes: 2 additions & 2 deletions packages/toolkit/src/query/tests/unionTypes.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
TypedUseLazyQuery,
TypedUseLazyQuerySubscription,
TypedUseMutation,
TypedUseMutationTrigger,
TypedMutationTrigger,
TypedUseQuerySubscription,
TypedUseQuery,
} from '@reduxjs/toolkit/query/react'
Expand Down Expand Up @@ -838,7 +838,7 @@ describe('"Typed" helper types', () => {
const [trigger, result] = api.endpoints.mutation.useMutation()

expectTypeOf<
TypedUseMutationTrigger<string, void, typeof baseQuery>
TypedMutationTrigger<string, void, typeof baseQuery>
>().toMatchTypeOf(trigger)

expectTypeOf<
Expand Down

0 comments on commit a131b32

Please sign in to comment.