From 8c5c7dc8596a741a13d14e4db8add9df07272f01 Mon Sep 17 00:00:00 2001 From: Xingkai Wang Date: Tue, 26 Oct 2021 18:23:48 +1300 Subject: [PATCH] Fixing type comments of `base` and `standard` --- filesize.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filesize.d.ts b/filesize.d.ts index 6f4c019..f282c7f 100644 --- a/filesize.d.ts +++ b/filesize.d.ts @@ -39,7 +39,7 @@ declare namespace Filesize { interface Options { /** - * Number base, default is 2 + * Number base, default is 10 */ base?: number; /** @@ -83,7 +83,7 @@ declare namespace Filesize { */ spacer?: string; /** - * Standard unit of measure, can be iec or jedec, default is jedec; can be overruled by base + * Standard unit of measure, can be iec or jedec, default is iec; can be overruled by base */ standard?: "iec" | "jedec"; /** @@ -104,4 +104,4 @@ declare namespace Filesize { (bytes: number, options?: Options): string; partial: (options: Options) => ((bytes: number) => string); } -} \ No newline at end of file +}