Type Alias DerivedListCreate<T>

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

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

Includes additional type inference constraints for Data.DerivedListCreate.

Type Parameters

  • T

    any - Type of data.