From b72c00e8c4c2f61640e3fe2ce49e393f39a2d71c Mon Sep 17 00:00:00 2001 From: Stefan Probst Date: Tue, 6 Feb 2024 15:51:47 +0100 Subject: [PATCH] fix: update types --- utils/create-date-span.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/create-date-span.ts b/utils/create-date-span.ts index 4494d26f..40dd9a5e 100644 --- a/utils/create-date-span.ts +++ b/utils/create-date-span.ts @@ -1,4 +1,4 @@ -export function createDateSpan(date: { earliest?: string; latest?: string }) { +export function createDateSpan(date: { earliest?: string | null; latest?: string | null }) { const { d } = useI18n(); const segments: Array = [];