Skip to content

Commit cc3bd2f

Browse files
committed
fix: import type only use export type
1 parent 89f5237 commit cc3bd2f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ import shallowEqual from './utils/shallowEqual'
3333
setBatch(batch)
3434

3535
export * from './types'
36-
export {
36+
export type {
3737
ProviderProps,
38-
Provider,
39-
connectAdvanced,
4038
SelectorFactory,
4139
Selector,
4240
MapStateToProps,
@@ -50,8 +48,12 @@ export {
5048
MapDispatchToPropsParam,
5149
MapDispatchToPropsNonObject,
5250
MergeProps,
53-
ReactReduxContext,
5451
ReactReduxContextValue,
52+
}
53+
export {
54+
Provider,
55+
connectAdvanced,
56+
ReactReduxContext,
5557
connect,
5658
batch,
5759
useDispatch,

0 commit comments

Comments
 (0)