Skip to content

Commit

Permalink
fix(util): typescript declaration for humanStorageSize (#17240)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-wtt authored May 30, 2024
1 parent 36146ba commit 0cd5f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/types/utils/format.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export namespace format {
function humanStorageSize(size: number): string;
function humanStorageSize(bytes: number, decimals?: number): string;
function capitalize(text: string): string;
function between(v: number, min: number, max: number): number;
function normalizeToInterval(v: number, min: number, max: number): number;
Expand Down

0 comments on commit 0cd5f34

Please sign in to comment.