1
1
/* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */
2
2
import 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'
4
5
import { isValidElementType , isContextConsumer } from 'react-is'
5
6
6
7
import type { Store } from 'redux'
@@ -14,27 +15,29 @@ import type {
14
15
ConnectPropsMaybeWithoutContext ,
15
16
} from '../types'
16
17
17
- import defaultSelectorFactory , {
18
+ import type {
18
19
MapStateToPropsParam ,
19
20
MapDispatchToPropsParam ,
20
21
MergeProps ,
21
22
MapDispatchToPropsNonObject ,
22
23
SelectorFactoryOptions ,
23
24
} from '../connect/selectorFactory'
25
+ import defaultSelectorFactory from '../connect/selectorFactory'
24
26
import { mapDispatchToPropsFactory } from '../connect/mapDispatchToProps'
25
27
import { mapStateToPropsFactory } from '../connect/mapStateToProps'
26
28
import { mergePropsFactory } from '../connect/mergeProps'
27
29
28
- import { createSubscription , Subscription } from '../utils/Subscription'
30
+ import type { Subscription } from '../utils/Subscription'
31
+ import { createSubscription } from '../utils/Subscription'
29
32
import { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect'
30
33
import shallowEqual from '../utils/shallowEqual'
31
34
import warning from '../utils/warning'
32
35
33
- import {
34
- ReactReduxContext ,
36
+ import type {
35
37
ReactReduxContextValue ,
36
38
ReactReduxContextInstance ,
37
39
} from './Context'
40
+ import { ReactReduxContext } from './Context'
38
41
39
42
import type { uSES } from '../utils/useSyncExternalStore'
40
43
import { notInitialized } from '../utils/useSyncExternalStore'
0 commit comments