r-magnet
Version:
A state management library for React
3 lines (2 loc) • 306 B
TypeScript
import { Slice, ReducerMetods, SliceOptions, EffectHandlers } from './typeHelper';
export declare function createReducer(store: any): <State, CR extends ReducerMetods<State>, M extends EffectHandlers, Name extends string = string>(options: SliceOptions<State, CR, M, Name>) => Slice<State, CR, M, Name>;