Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing type comments of base and standard #143

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions filesize.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ declare namespace Filesize {

interface Options {
/**
* Number base, default is 2
* Number base, default is 10
*/
base?: number;
/**
Expand Down Expand Up @@ -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";
/**
Expand All @@ -104,4 +104,4 @@ declare namespace Filesize {
(bytes: number, options?: Options): string;
partial: (options: Options) => ((bytes: number) => string);
}
}
}