types: use type alias instead of empty interface for Post

This commit is contained in:
2026-06-02 11:27:47 -05:00
parent 0c0120d9bb
commit a0a162d62e

View File

@@ -16,7 +16,7 @@ export interface PostMeta {
readingTime: number readingTime: number
} }
export interface Post extends PostMeta {} export type Post = PostMeta
const getMdxFiles = cache(async () => { const getMdxFiles = cache(async () => {
try { try {