UNPKG

ngx-custom-material-file-input

Version:
13 lines (12 loc) 531 B
import { PipeTransform } from '@angular/core'; import { FileInputConfig } from '../models/file-input-config.model'; import * as i0 from "@angular/core"; export declare class ByteFormatPipe implements PipeTransform { private config; private unit; constructor(config: FileInputConfig); transform(value: any, args?: any): any; private formatBytes; static ɵfac: i0.ɵɵFactoryDeclaration<ByteFormatPipe, [{ optional: true; }]>; static ɵpipe: i0.ɵɵPipeDeclaration<ByteFormatPipe, "byteFormat", false>; }