fix typing for Locale
This commit is contained in:
parent
48da8c6182
commit
ea11dd6514
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue