Skip to content

Commit 281c45e

Browse files
authored
Merge pull request #143 from wangxingkai/master
Fixing type comments of `base` and `standard`
2 parents ef24fdc + 8c5c7dc commit 281c45e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

filesize.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ declare namespace Filesize {
3939

4040
interface Options {
4141
/**
42-
* Number base, default is 2
42+
* Number base, default is 10
4343
*/
4444
base?: number;
4545
/**
@@ -83,7 +83,7 @@ declare namespace Filesize {
8383
*/
8484
spacer?: string;
8585
/**
86-
* Standard unit of measure, can be iec or jedec, default is jedec; can be overruled by base
86+
* Standard unit of measure, can be iec or jedec, default is iec; can be overruled by base
8787
*/
8888
standard?: "iec" | "jedec";
8989
/**
@@ -120,4 +120,4 @@ declare namespace Filesize {
120120
<O extends Options>(bytes: number, options: O): ResultTypeMap[CanonicalOutput<O>];
121121
partial: <O extends Options>(options: O) => ((bytes: number) => ResultTypeMap[CanonicalOutput<O>]);
122122
}
123-
}
123+
}

0 commit comments

Comments
 (0)