Type Alias AnyDuration

AnyDuration: Partial<Record<DurationUnit, number | undefined>>

A looser type with all possible options, based on the stricter Duration type. Matches the DurationObjectUnits type from the luxon package.