DerivedMapCreate:
    | string
    | typeof DynMapReducerDerived
    | DynReducer.Data.DerivedMapCreate<K, T> & {
        ctor: typeof DynMapReducerDerived;
    }
    | DynReducer.Data.DerivedMapCreate<K, T> & { name: string } & (
        | { filters: Iterable<DynReducer.Data.FilterFn<T> | Filter<T>> }
        | { sort: CompareFn<T> | DynReducer.Data.Sort<T> }
    )

Creates a compound type for all derived map reducer 'create' option combinations.

Includes additional type inference constraints for Data.DerivedMapCreate.

Type Parameters

  • K

    any - Key type.

  • T

    any - Type of data.