diff options
author | 2024-09-12 10:45:11 +0100 | |
---|---|---|
committer | 2024-09-12 10:45:11 +0100 | |
commit | 60211defbfb2992ba17d1369e71c146d8928b09a (patch) | |
tree | 1751dc70af6a26ecc0038bde01af0a36b0e932bd | |
parent | 7f4e16292443d68cf1dd5b8714d12eed3dd739ec (diff) | |
download | astro-60211defbfb2992ba17d1369e71c146d8928b09a.tar.gz astro-60211defbfb2992ba17d1369e71c146d8928b09a.tar.zst astro-60211defbfb2992ba17d1369e71c146d8928b09a.zip |
Export the RenderResult type (#11974)
-rw-r--r-- | .changeset/eighty-bags-cross.md | 5 | ||||
-rw-r--r-- | packages/astro/templates/content/types.d.ts | 2 |
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>; |