bpms_site/.svn/pristine/22/22588489a67c9ead3ef89451a700f800dc3d37df.svn-base
2025-11-02 16:38:49 +03:30

15 lines
519 B
Plaintext

import type { reducer } from './router-reducer/router-reducer';
import type { ReducerAction, Dispatch } from 'react';
declare global {
interface Window {
__REDUX_DEVTOOLS_EXTENSION__: any;
}
}
declare function useReducerWithReduxDevtoolsImpl(fn: typeof reducer, initialState: ReturnType<typeof reducer>): [
ReturnType<typeof reducer>,
Dispatch<ReducerAction<typeof reducer>>,
() => void
];
export declare const useReducerWithReduxDevtools: typeof useReducerWithReduxDevtoolsImpl;
export {};