@@ -45,7 +45,7 @@ export class IgxSummaryOperand {
45
45
* constructor() {
46
46
* super();
47
47
* }
48
- * public operate(data? : any[]): IgxSummaryResult[] {
48
+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
49
49
* const result = [];
50
50
* result.push({
51
51
* key: "test",
@@ -133,7 +133,7 @@ export class IgxNumberSummaryOperand extends IgxSummaryOperand {
133
133
* constructor() {
134
134
* super();
135
135
* }
136
- * public operate(data? : any[]): IgxSummaryResult[] {
136
+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
137
137
* const result = [];
138
138
* result.push({
139
139
* key: "avg",
@@ -152,7 +152,7 @@ export class IgxNumberSummaryOperand extends IgxSummaryOperand {
152
152
* ```
153
153
* @memberof IgxNumberSummaryOperand
154
154
*/
155
- public operate ( data : any [ ] = [ ] , fieldName ? : string ) : IgxSummaryResult [ ] {
155
+ public operate ( data : any [ ] = [ ] , fieldName : string ) : IgxSummaryResult [ ] {
156
156
const result = super . operate ( data , fieldName ) ;
157
157
result . push ( {
158
158
key : 'min' ,
@@ -219,7 +219,7 @@ export class IgxDateSummaryOperand extends IgxSummaryOperand {
219
219
* constructor() {
220
220
* super();
221
221
* }
222
- * public operate(data? : any[]): IgxSummaryResult[] {
222
+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
223
223
* const result = [];
224
224
* result.push({
225
225
* key: "latest",
@@ -233,7 +233,7 @@ export class IgxDateSummaryOperand extends IgxSummaryOperand {
233
233
* ```
234
234
* @memberof IgxDateSummaryOperand
235
235
*/
236
- public operate ( data : any [ ] = [ ] , fieldName ? : string ) : IgxSummaryResult [ ] {
236
+ public operate ( data : any [ ] = [ ] , fieldName : string ) : IgxSummaryResult [ ] {
237
237
const result = super . operate ( data , fieldName ) ;
238
238
result . push ( {
239
239
key : 'earliest' ,
0 commit comments