You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							1.3 KiB
						
					
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							1.3 KiB
						
					
					
				| import type { Action, Dispatch } from 'redux';
 | |
| import type { MapDispatchToPropsParam } from './selectorFactory';
 | |
| export declare function mapDispatchToPropsFactory<TDispatchProps, TOwnProps>(mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps> | undefined): ((dispatch: Dispatch<import("redux").AnyAction>) => {
 | |
|     (): import("redux").ActionCreatorsMapObject<any> | import("redux").ActionCreator<any> | {
 | |
|         dispatch?: Dispatch<import("redux").AnyAction> | undefined;
 | |
|         dependsOnOwnProps?: boolean | undefined;
 | |
|     };
 | |
|     dependsOnOwnProps: boolean;
 | |
| }) | ((dispatch: Dispatch<Action<unknown>>, options: {
 | |
|     readonly wrappedComponentName: string;
 | |
| }) => never) | ((dispatch: Dispatch<import("redux").AnyAction>, { displayName }: {
 | |
|     displayName: string;
 | |
| }) => {
 | |
|     (stateOrDispatch: {
 | |
|         [key: string]: any;
 | |
|     } | Dispatch<import("redux").AnyAction>, ownProps?: {
 | |
|         [key: string]: any;
 | |
|     } | undefined): import("./wrapMapToProps").MapToProps<{
 | |
|         [key: string]: any;
 | |
|     }>;
 | |
|     dependsOnOwnProps: boolean;
 | |
|     mapToProps(stateOrDispatch: {
 | |
|         [key: string]: any;
 | |
|     } | Dispatch<import("redux").AnyAction>, ownProps?: {
 | |
|         [key: string]: any;
 | |
|     } | undefined): import("./wrapMapToProps").MapToProps<{
 | |
|         [key: string]: any;
 | |
|     }>;
 | |
| });
 |