lml-main
Version:
This is now a mono repository published into many standalone packages.
17 lines (16 loc) • 699 B
TypeScript
import { Dispatch } from 'redux';
import { AppState } from '../../common/reducers';
export declare const MAPS_API_LOADED = "MAPS_API_LOADED";
export declare const MAPS_AUTHENTICATION_ERROR = "MAPS_AUTHENTICATION_ERROR";
export interface MapsLoadedAction {
type: 'MAPS_API_LOADED';
}
export interface MapsAuthErrorAction {
type: 'MAPS_AUTHENTICATION_ERROR';
}
export interface GoogleTestAction {
type: '@@TEST_ACTION';
}
export declare type MapsAction = MapsLoadedAction | MapsAuthErrorAction | GoogleTestAction;
export declare const mapsAPILoadedAction: () => MapsLoadedAction;
export declare const mapsAuthErrorAction: () => (dispatch: Dispatch<any>, getState: () => AppState) => void;