summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/eighty-bags-cross.md5
-rw-r--r--packages/astro/templates/content/types.d.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/eighty-bags-cross.md b/.changeset/eighty-bags-cross.md
new file mode 100644
index 000000000..734ef71c1
--- /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 f83f28177..0727ac2e5 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<string, any>;