UNPKG

react-remux

Version:
4 lines (3 loc) 240 B
import { Store, AnyAction, Action } from "redux"; export declare type useStoreType<S, A extends Action> = () => Store<S, A>; export declare const useStore: <S = any, A extends Action<any> = AnyAction>(namespace?: string) => Store<S, A>;