lumen-react-javascript
Version:
Lumen React bridge
16 lines (15 loc) • 560 B
TypeScript
import { ActionCreator, Dispatch } from "redux";
export declare enum GlobalActionType {
REFRESH_STORE = "REFRESH_STORE"
}
export interface GlobalAction {
type: GlobalActionType;
}
export declare type GlobalActionCallback = () => GlobalAction;
export declare const refreshStore: ActionCreator<GlobalActionCallback>;
export declare function refreshStoreDispatcherBinder(dispatch: Dispatch<GlobalAction>): {
refreshStoreDispatcher: GlobalActionCallback;
};
export interface RefreshStoreDispatcher {
refreshStoreDispatcher: GlobalActionCallback;
}