Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Reducer

Index

Interfaces

Type aliases

Functions

Type aliases

PrefixedReducer

PrefixedReducer: (current: string[], value: {}, index: number) => string[]

Type declaration

    • (current: string[], value: {}, index: number): string[]
    • Parameters

      • current: string[]
      • value: {}
        • [index: string]: any
      • index: number

      Returns string[]

Functions

getPrefixedReducer

  • Function to get the reducer according to the prefix

    Parameters

    • prefix: string

      string that contains the prefix

    • Optional subItemKey: string

      The the key to get the reducer for child objects

    Returns PrefixedReducer

    array of string with the names of the reducers

Generated using TypeDoc