import { SettingsActions , Action } from 'common/types' ; export const createSettingsActions = ( state , updateState ) => ( { update : settings => updateState ( { settings : { ... state . settings , ... settings } } ) , } ) ;