mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-04-27 19:53:42 +03:00
* chore(deps): update dependency prettier to v3 * Format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
17 lines
537 B
TypeScript
17 lines
537 B
TypeScript
import { instrument, Options } from '@redux-devtools/instrument';
|
|
import { Action, Reducer, StoreEnhancerStoreCreator } from 'redux';
|
|
|
|
export default function configureStore<
|
|
S,
|
|
A extends Action<unknown>,
|
|
MonitorState,
|
|
MonitorAction extends Action<unknown>,
|
|
>(
|
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
next: StoreEnhancerStoreCreator<{}, unknown>,
|
|
subscriber: Reducer<MonitorState, MonitorAction>,
|
|
options: Options<S, A, MonitorState, MonitorAction>,
|
|
) {
|
|
return instrument(subscriber, options)(next);
|
|
}
|