Skip to content

Commit b43f501

Browse files
author
ben.durrant
committed
rtkImports
1 parent 7276087 commit b43f501

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/toolkit/src/query/core/buildThunks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ import type {
2929
Draft,
3030
ImmutableHelpers,
3131
UnknownAction,
32+
ThunkAction,
33+
ThunkDispatch,
34+
AsyncThunk,
3235
} from '@reduxjs/toolkit'
3336
import {
3437
isAllOf,
@@ -40,7 +43,6 @@ import {
4043
SHOULD_AUTOBATCH,
4144
} from './rtkImports'
4245
import type { Patch } from 'immer'
43-
import type { ThunkAction, ThunkDispatch, AsyncThunk } from '@reduxjs/toolkit'
4446

4547
import { HandledError } from '../HandledError'
4648

packages/toolkit/src/query/core/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type {
1717
ImmutableHelpers,
1818
UnknownAction,
1919
} from '@reduxjs/toolkit'
20-
import { immerImmutableHelpers } from '@reduxjs/toolkit'
20+
import { immerImmutableHelpers } from './rtkImports'
2121
import type {
2222
EndpointDefinitions,
2323
QueryArgFrom,

packages/toolkit/src/query/core/rtkImports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
export {
66
createAction,
7-
createSlice,
87
createSelector,
98
createAsyncThunk,
109
combineReducers,
@@ -22,4 +21,5 @@ export {
2221
isPlainObject,
2322
nanoid,
2423
buildCreateSlice,
24+
immerImmutableHelpers,
2525
} from '@reduxjs/toolkit'

0 commit comments

Comments
 (0)