diff --git a/.changeset/eighty-bags-cross.md b/.changeset/eighty-bags-cross.md new file mode 100644 index 000000000000..734ef71c1dfd --- /dev/null +++ b/.changeset/eighty-bags-cross.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Exports the `RenderResult` type diff --git a/packages/astro/templates/content/types.d.ts b/packages/astro/templates/content/types.d.ts index f83f28177698..0727ac2e5578 100644 --- a/packages/astro/templates/content/types.d.ts +++ b/packages/astro/templates/content/types.d.ts @@ -1,5 +1,5 @@ declare module 'astro:content' { - interface RenderResult { + export interface RenderResult { Content: import('astro/runtime/server/index.js').AstroComponentFactory; headings: import('astro').MarkdownHeading[]; remarkPluginFrontmatter: Record;