@rero/ng-core
Version:
RERO angular core library.
18 lines (17 loc) • 576 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Get human readable file size.
*/
export declare class FilesizePipe implements PipeTransform {
/**
* Transform size to a human readable size.
*
* @param size Size of file.
* @param precision Number of decimals.
* @return Human readable file size.
*/
transform(size: number, precision?: number): string;
static ɵfac: i0.ɵɵFactoryDeclaration<FilesizePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FilesizePipe, "filesize", false>;
}