Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "models/reducer"

Index

Type aliases

Type aliases

Reducer

Reducer<State, Actions>: (state: State, action: keyof Actions, payload: Actions[keyof Actions]) => State

Type parameters

  • State

  • Actions

Type declaration

    • (state: State, action: keyof Actions, payload: Actions[keyof Actions]): State
    • Parameters

      • state: State
      • action: keyof Actions
      • payload: Actions[keyof Actions]

      Returns State

Generated using TypeDoc