import type { LocaleOptions , Unit } from '../types' ; import formatDistanceStrict from '../formatDistanceStrict/index' ; import requiredArgs from '../_lib/requiredArgs/index' ; name category summary pure description param { Date | Number } date param options param { Boolean } options . addSuffix param { 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' } options . unit param { 'floor' | 'ceil' | 'round' } options . roundingMethod param { Locale } options . locale - the locale object. See [Locale] https returns { String } throws throws throws example example example example example export default function formatDistanceToNowStrict ( dirtyDate , options = { } ) { requiredArgs ( 1 , arguments ) ; return formatDistanceStrict ( dirtyDate , Date . now ( ) , options ) ; }