Skip to content

Commit 0a12648

Browse files
committed
Fix type export issues
1 parent 70bccca commit 0a12648

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/exports.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Provider from './components/Provider'
22
import type { ProviderProps } from './components/Provider'
3-
import connect, {
3+
import connect from './components/connect'
4+
import type {
45
Connect,
56
ConnectProps,
67
ConnectedProps,
@@ -36,6 +37,7 @@ export type {
3637
MapStateToProps,
3738
MapStateToPropsFactory,
3839
MapStateToPropsParam,
40+
Connect,
3941
ConnectProps,
4042
ConnectedProps,
4143
MapDispatchToPropsFunction,
@@ -51,7 +53,6 @@ export {
5153
Provider,
5254
ReactReduxContext,
5355
connect,
54-
Connect,
5556
useDispatch,
5657
createDispatchHook,
5758
useSelector,

0 commit comments

Comments
 (0)