Function makeReducer

  • Creates a @ngrx/store compatible ActionReducer given an initial sttate and a collection of ActionMaps

    Type Parameters

    • S

      The state type

    Parameters

    • initialState: S

      The initial state in case a previous state is undefined.

    Returns ((...actionGroups: ActionMap<any>[]) => ActionReducer<S, Action>)

      • (...actionGroups: ActionMap<any>[]): ActionReducer<S, Action>
      • Parameters

        Returns ActionReducer<S, Action>

Generated using TypeDoc