mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 05:47:10 -04:00
linting
This commit is contained in:
parent
e84ac9e38c
commit
b476b6808e
4 changed files with 57 additions and 53 deletions
|
@ -1,6 +1,6 @@
|
|||
export enum UNIT_BASE {
|
||||
BASE_2 = 1024,
|
||||
BASE_10 = 1000
|
||||
BASE_10 = 1000,
|
||||
}
|
||||
|
||||
export function formatBytes(bytes: number, decimals = 2, base: UNIT_BASE = UNIT_BASE.BASE_2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue