Skip to content

Commit 37db123

Browse files
committed
Fix type imports
1 parent fc5d0d8 commit 37db123

File tree

1 file changed

+2
-3
lines changed
  • packages/action-listener-middleware/src

1 file changed

+2
-3
lines changed

packages/action-listener-middleware/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import {
2-
createAction,
3-
nanoid,
1+
import type {
42
PayloadAction,
53
Middleware,
64
Dispatch,
@@ -9,6 +7,7 @@ import {
97
Action,
108
ThunkDispatch,
119
} from '@reduxjs/toolkit'
10+
import { createAction, nanoid } from '@reduxjs/toolkit'
1211

1312
interface BaseActionCreator<P, T extends string, M = never, E = never> {
1413
type: T

0 commit comments

Comments
 (0)