UNPKG

@data-client/core

Version:

Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch

8 lines (7 loc) 394 B
import Controller from '../../controller/Controller.js'; import { ActionTypes, State } from '../../types.js'; export default function createReducer(controller: Controller): ReducerType; export declare const initialState: State<unknown>; type ReducerType = (state: State<unknown> | undefined, action: ActionTypes) => State<unknown>; export {}; //# sourceMappingURL=createReducer.d.ts.map