FormatDistanceTokenFn
import type { FormatDistanceTokenFn } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
The function used inside the FormatDistanceFn function, implementing formatting for a particular token.
type FormatDistanceTokenFn = (count: number, options?: FormatDistanceFnOptions) => string;
§Type
§
(count: number, options?: FormatDistanceFnOptions) => string
[src]