nz-aggregate.pipe.d.ts 615 B

123456789101112
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { PipeTransform } from '@angular/core';
  6. import * as i0 from "@angular/core";
  7. export type AggregateMethod = 'sum' | 'max' | 'min' | 'avg';
  8. export declare class NzAggregatePipe implements PipeTransform {
  9. transform(value: number[], method: AggregateMethod): undefined | number;
  10. static ɵfac: i0.ɵɵFactoryDeclaration<NzAggregatePipe, never>;
  11. static ɵpipe: i0.ɵɵPipeDeclaration<NzAggregatePipe, "nzAggregate", true>;
  12. }