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

FormatDistanceStrictUnit

import type { FormatDistanceStrictUnit } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";

The unit used to format the distance in formatDistanceStrict.

type FormatDistanceStrictUnit =
| "second"
| "minute"
| "hour"
| "day"
| "month"
| "year";

§Type

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