wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
16 lines • 398 B
TypeScript
/**
* Format time in `MM:SS` format
*
* @param seconds - The number of seconds to format
* @returns The formatted time string
*
* @example
* ```ts
* formatTime(60); // "01:00:00"
* formatTime(60.5); // "01:00:30"
* formatTime(120); // "02:00:00"
* formatTime(120.5); // "02:00:30"
* ```
*/
export declare function formatTime(seconds: number): string;
//# sourceMappingURL=time.d.ts.map