11/* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */
22import hoistStatics from 'hoist-non-react-statics'
3- import React , { ComponentType , useContext , useMemo , useRef } from 'react'
3+ import type { ComponentType } from 'react'
4+ import React , { useContext , useMemo , useRef } from 'react'
45import { isValidElementType , isContextConsumer } from 'react-is'
56
67import type { Store } from 'redux'
@@ -14,27 +15,29 @@ import type {
1415 ConnectPropsMaybeWithoutContext ,
1516} from '../types'
1617
17- import defaultSelectorFactory , {
18+ import type {
1819 MapStateToPropsParam ,
1920 MapDispatchToPropsParam ,
2021 MergeProps ,
2122 MapDispatchToPropsNonObject ,
2223 SelectorFactoryOptions ,
2324} from '../connect/selectorFactory'
25+ import defaultSelectorFactory from '../connect/selectorFactory'
2426import { mapDispatchToPropsFactory } from '../connect/mapDispatchToProps'
2527import { mapStateToPropsFactory } from '../connect/mapStateToProps'
2628import { mergePropsFactory } from '../connect/mergeProps'
2729
28- import { createSubscription , Subscription } from '../utils/Subscription'
30+ import type { Subscription } from '../utils/Subscription'
31+ import { createSubscription } from '../utils/Subscription'
2932import { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect'
3033import shallowEqual from '../utils/shallowEqual'
3134import warning from '../utils/warning'
3235
33- import {
34- ReactReduxContext ,
36+ import type {
3537 ReactReduxContextValue ,
3638 ReactReduxContextInstance ,
3739} from './Context'
40+ import { ReactReduxContext } from './Context'
3841
3942import type { uSES } from '../utils/useSyncExternalStore'
4043import { notInitialized } from '../utils/useSyncExternalStore'
0 commit comments