@drieam/common
Version:
Default Drieam api wrapper
15 lines (14 loc) • 473 B
TypeScript
import { OptionParams, BaseAction } from '@drieam/api';
import { RouterState } from 'connected-react-router';
import { History } from 'history';
export declare const APP_ONLINE = "APP_ONLINE";
export declare type AppOnlineAction = BaseAction<'APP_ONLINE'> & {
payload: boolean;
};
export declare type StoreOptions = Partial<{
withErrorHandler: boolean;
history: History;
}> & OptionParams;
export declare type RootReducer<T> = T & {
router: RouterState;
};