From bcba3ca9702e012e493131be0419f6353bd59eae Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 20 Dec 2022 14:27:53 +0100 Subject: [PATCH] chore: fix types --- composables/i18n.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/composables/i18n.ts b/composables/i18n.ts index 5930c0dd..36470587 100644 --- a/composables/i18n.ts +++ b/composables/i18n.ts @@ -79,6 +79,7 @@ export const useTimeAgoOptions = (short = false): UseTimeAgoOptions => { 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')