Type aliases
ActionGenerator
ActionGenerator: { type: string } & ((...args: any[]) => { payload?: unknown; type: string })
Dict
Dict<T>: Record<string, T>
Type parameters
Mutation
Mutation<TState>: (payload: unknown, action: Record<string, unknown>) => (state: TState) => TState
Type parameters
Type declaration
- (payload: unknown, action: Record<string, unknown>): (state: TState) => TState
Parameters
payload: unknown
action: Record<string, unknown>
Returns (state: TState) => TState