From a0a162d62e84d3e3d2f935fad7177a12f6dccda3 Mon Sep 17 00:00:00 2001 From: Krishna Ayyalasomayajula Date: Tue, 2 Jun 2026 11:27:47 -0500 Subject: [PATCH] types: use type alias instead of empty interface for Post --- lib/posts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posts.ts b/lib/posts.ts index 5d6ef53..7535277 100644 --- a/lib/posts.ts +++ b/lib/posts.ts @@ -16,7 +16,7 @@ export interface PostMeta { readingTime: number } -export interface Post extends PostMeta {} +export type Post = PostMeta const getMdxFiles = cache(async () => { try {