number.d.ts 183 B

123456
  1. export declare function formatBytes(bytes: number, options: FormatBytesOptions): string;
  2. interface FormatBytesOptions {
  3. unit?: 'bytes' | 'bits';
  4. locale?: string;
  5. }
  6. export {};