fix: display file size as base 2 (KiB instead of KB) (#2779)

This commit is contained in:
kloon15 authored and GitHub committed 2023-11-02 08:47:55 +01:00
1 parent d0c3aeace1
commit cdcd9a313a
4 files changed
+10 -4

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { partial } from "filesize";
/**
* Formats filesize as KiB/MiB/...
*/
export const filesize = partial({ base: 2 });