You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			16 lines
		
	
	
		
			403 B
		
	
	
	
		
			TypeScript
		
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			403 B
		
	
	
	
		
			TypeScript
		
	
| 
								 
											7 years ago
										 
									 | 
							
								import { bindActionCreators, Dispatch } from 'redux';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { actions as search } from './ducks/search';
							 | 
						||
| 
								 | 
							
								import { actions as conversations } from './ducks/conversations';
							 | 
						||
| 
								 | 
							
								import { actions as user } from './ducks/user';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const actions = {
							 | 
						||
| 
								 | 
							
								  ...search,
							 | 
						||
| 
								 | 
							
								  ...conversations,
							 | 
						||
| 
								 | 
							
								  ...user,
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export function mapDispatchToProps(dispatch: Dispatch): Object {
							 | 
						||
| 
								 | 
							
								  return bindActionCreators(actions, dispatch);
							 | 
						||
| 
								 | 
							
								}
							 |