Skip to content

Commit

Permalink
Export the RenderResult type
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Sep 12, 2024
1 parent 74722cb commit 08c2191
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 08c2191

Please sign in to comment.