Files
personal_site/frontend/node_modules/@aws-cdk/toolkit-lib/lib/util/bytes.d.ts
T

9 lines
336 B
TypeScript

/**
* Format bytes as a human readable string
*
* @param bytes - Number of bytes to format
* @param decimals - Number of decimal places to show (default 2)
* @returns Formatted string with appropriate unit suffix
*/
export declare function formatBytes(bytes: number, decimals?: number): string;
//# sourceMappingURL=bytes.d.ts.map