@@ -45,7 +45,7 @@ export class IgxSummaryOperand {
4545 * constructor() {
4646 * super();
4747 * }
48- * public operate(data? : any[]): IgxSummaryResult[] {
48+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
4949 * const result = [];
5050 * result.push({
5151 * key: "test",
@@ -133,7 +133,7 @@ export class IgxNumberSummaryOperand extends IgxSummaryOperand {
133133 * constructor() {
134134 * super();
135135 * }
136- * public operate(data? : any[]): IgxSummaryResult[] {
136+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
137137 * const result = [];
138138 * result.push({
139139 * key: "avg",
@@ -152,7 +152,7 @@ export class IgxNumberSummaryOperand extends IgxSummaryOperand {
152152 * ```
153153 * @memberof IgxNumberSummaryOperand
154154 */
155- public operate ( data : any [ ] = [ ] , fieldName ? : string ) : IgxSummaryResult [ ] {
155+ public operate ( data : any [ ] = [ ] , fieldName : string ) : IgxSummaryResult [ ] {
156156 const result = super . operate ( data , fieldName ) ;
157157 result . push ( {
158158 key : 'min' ,
@@ -219,7 +219,7 @@ export class IgxDateSummaryOperand extends IgxSummaryOperand {
219219 * constructor() {
220220 * super();
221221 * }
222- * public operate(data? : any[]): IgxSummaryResult[] {
222+ * public operate(data: any[], fieldName: string ): IgxSummaryResult[] {
223223 * const result = [];
224224 * result.push({
225225 * key: "latest",
@@ -233,7 +233,7 @@ export class IgxDateSummaryOperand extends IgxSummaryOperand {
233233 * ```
234234 * @memberof IgxDateSummaryOperand
235235 */
236- public operate ( data : any [ ] = [ ] , fieldName ? : string ) : IgxSummaryResult [ ] {
236+ public operate ( data : any [ ] = [ ] , fieldName : string ) : IgxSummaryResult [ ] {
237237 const result = super . operate ( data , fieldName ) ;
238238 result . push ( {
239239 key : 'earliest' ,
0 commit comments