Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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";

§Type

§
"year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second"
[src]