diff --git a/src/types.d.ts b/src/types.d.ts index 8a89204..d23514a 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -1,3 +1,5 @@ +import type { AstroComponentFactory } from "astro/runtime/server/index.js"; + export interface Post { /** A unique ID number that identifies a post. */ id: string; @@ -34,7 +36,7 @@ export interface Post { draft?: boolean; /** */ - Content?: unknown; + Content?: AstroComponentFactory; content?: string; /** */