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 >( // eslint-disable-next-line @typescript-eslint/ban-types next: StoreEnhancerStoreCreator<{}, unknown>, subscriber: Reducer, options: Options ) { return instrument(subscriber, options)(next); }