We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657cf61 commit c7de10fCopy full SHA for c7de10f
1 file changed
lib/support/File.ts
@@ -1,4 +1,4 @@
1
-const units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB']
+const units = ['B', 'kB', 'MB', 'GB'] as const
2
3
/**
4
* Formats the file size in bytes to a human-readable format. It also accepts
0 commit comments