UNPKG

@obliczeniowo/elementary

Version:
14 lines (13 loc) 567 B
import { PipeTransform } from '@angular/core'; import * as i0 from "@angular/core"; export interface LimitsPipeOptions { min?: number; max?: number; transformTo?: 'int-ceil' | 'int-floor' | 'int-round'; } export declare class LimitsPipe implements PipeTransform { transform(value: number[], options?: LimitsPipeOptions): number[]; roundTo(value: number, type: 'floor' | 'ceil' | 'bottom' | string): number; static ɵfac: i0.ɵɵFactoryDeclaration<LimitsPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<LimitsPipe, "oblLimits", true>; }