UnitValid time units that can be used in duration string representations.
When to use
Use when typing the unit portion of duration string inputs accepted by
Duration.Input.
modelsInput
Source effect/Duration.ts:11517 lines
export type type Unit =
| "nano"
| "nanos"
| "micro"
| "micros"
| "milli"
| "millis"
| "second"
| "seconds"
| "minute"
| "minutes"
| "hour"
| "hours"
| "day"
| "days"
| "week"
| "weeks"
Valid time units that can be used in duration string representations.
When to use
Use when typing the unit portion of duration string inputs accepted by
Duration.Input.
Unit =
| "nano"
| "nanos"
| "micro"
| "micros"
| "milli"
| "millis"
| "second"
| "seconds"
| "minute"
| "minutes"
| "hour"
| "hours"
| "day"
| "days"
| "week"
| "weeks"Referenced by 1 symbols