UNPKG

@data-client/core

Version:

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

7 lines 396 B
import type Controller from '../../controller/Controller.js'; import type { 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