Type alias MapGroupEntries<T>

MapGroupEntries<T>: Record<string, ((item) => any)>

Defines a type for the entries of the mapGroups function, representing a record where each key is associated with a function that takes an item and returns any value.

Type Parameters

  • T extends any[] = any[]

    An array type representing the items that will be passed to each function in the record.

Type declaration

    • (item): any
    • Parameters

      • item: T[number]

      Returns any

Generated using TypeDoc