create project
This commit is contained in:
14
kitabcitab/node_modules/next/dist/client/components/use-reducer-with-devtools.d.ts
generated
vendored
Normal file
14
kitabcitab/node_modules/next/dist/client/components/use-reducer-with-devtools.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { reducer } from './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 {};
|
||||
Reference in New Issue
Block a user