diff --git a/src/types.ts b/src/types.ts index 8191455..22f2862 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,3 +1,5 @@ +import { AstroComponentFactory } from 'astro/dist/runtime/server'; + export interface Post { id: string; slug: string; @@ -18,7 +20,7 @@ export interface Post { tags?: Array; author?: string; - Content: unknown; + Content: AstroComponentFactory; content?: string; readingTime?: number;