Skip to content

Commit

Permalink
Export the RenderResult type (#11974)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Sep 12, 2024
1 parent 7f4e162 commit 60211de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eighty-bags-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Exports the `RenderResult` type
2 changes: 1 addition & 1 deletion packages/astro/templates/content/types.d.ts
Original file line number Diff line number Diff line change
@@ -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>;
Expand Down

0 comments on commit 60211de

Please sign in to comment.