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

FormatDistanceStrictOptions

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

The formatDistanceStrict function options.

interface FormatDistanceStrictOptions extends LocalizedOptions<"formatDistance">, RoundingOptions {
addSuffix?: boolean;
}

§Extends

§
LocalizedOptions<"formatDistance">
[src]

§Properties

§
addSuffix?: boolean
[src]

Add "X ago"/"in X" in the locale language

§

If specified, will force the unit