import { Reducer , AnyAction } from 'redux' ; export const composeReducers = < State > ( ... reducers ) : Reducer < State , AnyAction > => ( s , action ) => reducers . reduce ( ( st , reducer ) => reducer ( st , action ) , s ) ;