1
0
Fork 0

fix typing for Locale

This commit is contained in:
chaos 2024-01-16 13:56:05 +00:00
parent 48da8c6182
commit ea11dd6514
No known key found for this signature in database

View file

@ -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 {