summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matt Kane <m@mk.gg> 2024-09-12 10:45:11 +0100
committerGravatar GitHub <noreply@github.com> 2024-09-12 10:45:11 +0100
commit60211defbfb2992ba17d1369e71c146d8928b09a (patch)
tree1751dc70af6a26ecc0038bde01af0a36b0e932bd
parent7f4e16292443d68cf1dd5b8714d12eed3dd739ec (diff)
downloadastro-60211defbfb2992ba17d1369e71c146d8928b09a.tar.gz
astro-60211defbfb2992ba17d1369e71c146d8928b09a.tar.zst
astro-60211defbfb2992ba17d1369e71c146d8928b09a.zip
Export the RenderResult type (#11974)
-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>;