about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/posts.ts2
1 files changed, 1 insertions, 1 deletions
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({