mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 18:43:54 +03:00
8682d05b0b
* Update Redux packages * Fix instrument build * Fix some test type errors * Fix redux-devtools build * Fix rtk-query-monitor build * Fix redux-devtools-app build * Fix redux-devtools-extension build * Fix redux-devtools-remote build * Fix extension build * slider-monitor-example * test-tab-demo * inspector-monitor-demo * rtk-query-monitor-demo * counter-example * todomvc-example * Fix lint * Fix instrument test types * Fix core tests * Fix rtk-query-monitor tests * Updates
16 lines
463 B
TypeScript
16 lines
463 B
TypeScript
import { instrument, Options } from '@redux-devtools/instrument';
|
|
import { Action, Reducer, StoreEnhancerStoreCreator } from 'redux';
|
|
|
|
export default function configureStore<
|
|
S,
|
|
A extends Action<string>,
|
|
MonitorState,
|
|
MonitorAction extends Action<string>,
|
|
>(
|
|
next: StoreEnhancerStoreCreator,
|
|
subscriber: Reducer<MonitorState, MonitorAction>,
|
|
options: Options<S, A, MonitorState, MonitorAction>,
|
|
) {
|
|
return instrument(subscriber, options)(next);
|
|
}
|