IntlFormatDistanceUnit
import type { IntlFormatDistanceUnit } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
The unit used to format the distance in intlFormatDistance.
type IntlFormatDistanceUnit =
| "year"
| "quarter"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second";