type T = StateReducerOutput<{ foo: string, bar: number, nothing: never }, string>
// | { action: 'foo', param: string, state: string }
// | { action: 'bar', param: number, state: string }
// | { action: 'nothing', state: string }
Generated using TypeDoc
Represents the Writable (output) types of StateReducer actions.