diff --git a/src/utils/formatDistance.ts b/src/utils/formatDistance.ts index 26071ee..e00bc5c 100644 --- a/src/utils/formatDistance.ts +++ b/src/utils/formatDistance.ts @@ -1,5 +1,5 @@ import { de, enGB, fr, it, nl, ru } from "date-fns/locale"; -import { formatDistance as formatDistanceReal } from "date-fns"; +import { Locale, formatDistance as formatDistanceReal } from "date-fns"; function getLocale(language: string): Locale { return {