chore: fix types
This commit is contained in:
parent
0a5edda4cd
commit
bcba3ca970
@ -79,6 +79,7 @@ export const useTimeAgoOptions = (short = false): UseTimeAgoOptions<false> => {
|
||||
week: (n, p) => t(`time_ago_options.${prefix}week_${p ? 'past' : 'future'}`, n),
|
||||
month: (n, p) => t(`time_ago_options.${prefix}month_${p ? 'past' : 'future'}`, n),
|
||||
year: (n, p) => t(`time_ago_options.${prefix}year_${p ? 'past' : 'future'}`, n),
|
||||
invalid: '',
|
||||
},
|
||||
fullDateFormatter(date) {
|
||||
return d(date, short ? 'short' : 'long')
|
||||
|
Loading…
Reference in New Issue
Block a user