Duration: `${"-" | ""}${number} ${DurationPeriod}${"s" | ""}`

Duration represented as a typed string

Example

const twoHours: Duration = "2 hours"

Generated using TypeDoc