11import type { Context , ReactNode } from 'react'
22import * as React from 'react'
3- import type { ReactReduxContextValue } from './Context '
4- import { ReactReduxContext } from './Context '
3+ import type { Action , Store , UnknownAction } from 'redux '
4+ import type { DevModeCheckFrequency } from '../hooks/useSelector '
55import { createSubscription } from '../utils/Subscription'
66import { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect'
7- import type { Action , Store , UnknownAction } from 'redux '
8- import type { CheckFrequency } from '../hooks/useSelector '
7+ import type { ReactReduxContextValue } from './Context '
8+ import { ReactReduxContext } from './Context '
99
1010export interface ProviderProps <
1111 A extends Action < string > = UnknownAction ,
@@ -30,10 +30,10 @@ export interface ProviderProps<
3030 context ?: Context < ReactReduxContextValue < S , A > | null >
3131
3232 /** Global configuration for the `useSelector` stability check */
33- stabilityCheck ?: CheckFrequency
33+ stabilityCheck ?: DevModeCheckFrequency
3434
3535 /** Global configuration for the `useSelector` identity function check */
36- identityFunctionCheck ?: CheckFrequency
36+ identityFunctionCheck ?: DevModeCheckFrequency
3737
3838 children : ReactNode
3939}
0 commit comments