Documentation / listr2 / parseTimer
Function: parseTimer()
parseTimer(
duration
):string
A basic function to parse minutes and tasks passed given a duration. Useful for renderers to show the task time.
Parameters
• duration: number
Returns
string
Defined in
packages/listr2/src/presets/timer/parser.ts:6