From 2ac66e9a0f7f924edd9dc9c374121f427a077d7d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 1 Apr 2024 22:17:08 +0200 Subject: posts: "fix" type error --- src/posts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.ts b/src/posts.ts index 5276c6c..e15accb 100644 --- a/src/posts.ts +++ b/src/posts.ts @@ -43,7 +43,7 @@ export async function readPosts( const file = await getPost(input); - file.data.taxonomies?.tags?.map((t: string) => + (file.data.taxonomies as any)?.tags?.map((t: string) => tags.add(t.toLowerCase()), ); posts.push({ -- cgit 1.4.1