@ngx-file-upload/ui
Version:
Angular 16 file upload components for @ngx-file-upload/core
17 lines (16 loc) • 491 B
TypeScript
import { PipeTransform } from "@angular/core";
import * as i0 from "@angular/core";
/**
* format byte value into human readable value
*
* @example
* <span>{{1024 | fileSize}}</span>
* // prints out 1Kb
*
*/
export declare class FileSizePipe implements PipeTransform {
private units;
transform(size: number): string;
static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "fileSize", false>;
}