UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

5 lines (4 loc) 339 B
import { GenericAction } from "../../types/actions"; import { RequestStatusType } from "../../types/requests"; export declare function initialRequestState(): RequestStatusType; export declare function handleRequest(REQUEST: string, SUCCESS: string, FAILURE: string, state: RequestStatusType, action: GenericAction): RequestStatusType;