import { instrument, Options } from '@redux-devtools/instrument'; import { Action, Reducer, StoreEnhancerStoreCreator } from 'redux'; export default function configureStore< S, A extends Action, MonitorState, MonitorAction extends Action, >( next: StoreEnhancerStoreCreator, subscriber: Reducer, options: Options, ) { return instrument(subscriber, options)(next); }