? C extends ComponentClass ? ClassAttributes> & P : P : never;
+export type GetProps =
+ C extends ComponentType
+ ? C extends ComponentClass
+ ? ClassAttributes> & P
+ : P
+ : never
// @public (undocumented)
-export type HandleThunkActionCreator = TActionCreator extends (...args: any[]) => any ? InferThunkActionCreatorType : TActionCreator;
+export type HandleThunkActionCreator = TActionCreator extends (
+ ...args: any[]
+) => any
+ ? InferThunkActionCreatorType
+ : TActionCreator
// @public (undocumented)
-export type InferableComponentEnhancer = InferableComponentEnhancerWithProps;
+export type InferableComponentEnhancer =
+ InferableComponentEnhancerWithProps
// @public (undocumented)
-export type InferableComponentEnhancerWithProps = >>>(component: C) => ConnectedComponent, keyof Shared>> & TNeedsProps>;
+export type InferableComponentEnhancerWithProps = <
+ C extends ComponentType>>,
+>(
+ component: C,
+) => ConnectedComponent<
+ C,
+ DistributiveOmit, keyof Shared>> &
+ TNeedsProps
+>
// @public (undocumented)
-export type InferThunkActionCreatorType any> = TActionCreator extends (...args: infer TParams) => (...args: any[]) => infer TReturn ? (...args: TParams) => TReturn : TActionCreator;
+export type InferThunkActionCreatorType<
+ TActionCreator extends (...args: any[]) => any,
+> = TActionCreator extends (
+ ...args: infer TParams
+) => (...args: any[]) => infer TReturn
+ ? (...args: TParams) => TReturn
+ : TActionCreator
// @public (undocumented)
-export type MapDispatchToProps = MapDispatchToPropsFunction | TDispatchProps;
+export type MapDispatchToProps =
+ | MapDispatchToPropsFunction
+ | TDispatchProps
// @public (undocumented)
-export type MapDispatchToPropsFactory = (dispatch: Dispatch, ownProps: TOwnProps) => MapDispatchToPropsFunction;
+export type MapDispatchToPropsFactory = (
+ dispatch: Dispatch,
+ ownProps: TOwnProps,
+) => MapDispatchToPropsFunction
// @public (undocumented)
-export type MapDispatchToPropsFunction = (dispatch: Dispatch, ownProps: TOwnProps) => TDispatchProps;
+export type MapDispatchToPropsFunction = (
+ dispatch: Dispatch,
+ ownProps: TOwnProps,
+) => TDispatchProps
// @public (undocumented)
-export type MapDispatchToPropsNonObject = MapDispatchToPropsFactory | MapDispatchToPropsFunction;
+export type MapDispatchToPropsNonObject =
+ | MapDispatchToPropsFactory
+ | MapDispatchToPropsFunction
// @public (undocumented)
-export type MapDispatchToPropsParam = MapDispatchToPropsFactory | MapDispatchToProps;
+export type MapDispatchToPropsParam =
+ | MapDispatchToPropsFactory
+ | MapDispatchToProps
// @public (undocumented)
-export type MapStateToProps = (state: State, ownProps: TOwnProps) => TStateProps;
+export type MapStateToProps<
+ TStateProps,
+ TOwnProps,
+ State = DefaultRootState,
+> = (state: State, ownProps: TOwnProps) => TStateProps
// @public (undocumented)
-export type MapStateToPropsFactory = (initialState: State, ownProps: TOwnProps) => MapStateToProps;
+export type MapStateToPropsFactory<
+ TStateProps,
+ TOwnProps,
+ State = DefaultRootState,
+> = (
+ initialState: State,
+ ownProps: TOwnProps,
+) => MapStateToProps
// @public (undocumented)
-export type MapStateToPropsParam = MapStateToPropsFactory | MapStateToProps | null | undefined;
+export type MapStateToPropsParam<
+ TStateProps,
+ TOwnProps,
+ State = DefaultRootState,
+> =
+ | MapStateToPropsFactory
+ | MapStateToProps
+ | null
+ | undefined
// @public
export type Matching = {
- [P in keyof DecorationTargetProps]: P extends keyof InjectedProps ? InjectedProps[P] extends DecorationTargetProps[P] ? DecorationTargetProps[P] : InjectedProps[P] : DecorationTargetProps[P];
-};
+ [P in keyof DecorationTargetProps]: P extends keyof InjectedProps
+ ? InjectedProps[P] extends DecorationTargetProps[P]
+ ? DecorationTargetProps[P]
+ : InjectedProps[P]
+ : DecorationTargetProps[P]
+}
// @public (undocumented)
-export type MergeProps = (stateProps: TStateProps, dispatchProps: TDispatchProps, ownProps: TOwnProps) => TMergedProps;
+export type MergeProps = (
+ stateProps: TStateProps,
+ dispatchProps: TDispatchProps,
+ ownProps: TOwnProps,
+) => TMergedProps
// @public (undocumented)
-type Omit_2 = Pick>;
+type Omit_2 = Pick>
export { Omit_2 as Omit }
// @public (undocumented)
-export function Provider({ store, context, children }: ProviderProps): JSX.Element;
+export function Provider({
+ store,
+ context,
+ children,
+}: ProviderProps): JSX.Element
// @public (undocumented)
export interface ProviderProps {
- // (undocumented)
- children: ReactNode;
- context?: Context;
- store: Store;
+ // (undocumented)
+ children: ReactNode
+ context?: Context
+ store: Store
}
// @public (undocumented)
-export const ReactReduxContext: React_2.Context | null>;
+export const ReactReduxContext: React_2.Context | null>
// @public (undocumented)
-export interface ReactReduxContextValue {
- // (undocumented)
- store: Store;
- // (undocumented)
- subscription: Subscription;
+export interface ReactReduxContextValue<
+ SS = FixTypeLater,
+ A extends Action = AnyAction,
+> {
+ // (undocumented)
+ store: Store
+ // (undocumented)
+ subscription: Subscription
}
// @public (undocumented)
-export type ResolveArrayThunks> = TDispatchProps extends [
-infer A1,
-infer A2,
-infer A3,
-infer A4,
-infer A5,
-infer A6,
-infer A7,
-infer A8,
-infer A9
-] ? [
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator
-] : TDispatchProps extends [
-infer A1,
-infer A2,
-infer A3,
-infer A4,
-infer A5,
-infer A6,
-infer A7,
-infer A8
-] ? [
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator
-] : TDispatchProps extends [
-infer A1,
-infer A2,
-infer A3,
-infer A4,
-infer A5,
-infer A6,
-infer A7
-] ? [
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator
-] : TDispatchProps extends [
-infer A1,
-infer A2,
-infer A3,
-infer A4,
-infer A5,
-infer A6
-] ? [
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator
-] : TDispatchProps extends [infer A1, infer A2, infer A3, infer A4, infer A5] ? [
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator,
-HandleThunkActionCreator