File tree Expand file tree Collapse file tree
projects/igniteui-angular/grids/core/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,9 +50,10 @@ export interface IPivotDimensionStrategy {
5050
5151/**
5252* Interface describing a PivotAggregation function.
53- * Accepts an array of extracted data members and a array of the original data records.
53+ * Accepts an array of extracted data members and an optional array of the original data records,
54+ * which can be omitted or undefined.
5455*/
55- export type PivotAggregation = ( members : any [ ] , data : any [ ] ) => any ;
56+ export type PivotAggregation = ( members : any [ ] , data ? : any [ ] ) => any ;
5657
5758/* marshalByValue */
5859/**
@@ -76,7 +77,7 @@ export interface IPivotAggregator {
7677 * Aggregator function can be a custom implementation of `PivotAggregation`, or
7778 * use predefined ones from `IgxPivotAggregate` and its variants.
7879 */
79- aggregator ?: ( members : any [ ] , data ?: any [ ] ) => any ;
80+ aggregator ?: PivotAggregation ;
8081}
8182
8283/* marshalByValue */
You can’t perform that action at this time.
0 commit comments