0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

Export the RenderResult type (#11974)

This commit is contained in:
Matt Kane 2024-09-12 10:45:11 +01:00 committed by GitHub
parent 7f4e162924
commit 60211defbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Exports the `RenderResult` type

View file

@ -1,5 +1,5 @@
declare module 'astro:content' { declare module 'astro:content' {
interface RenderResult { export interface RenderResult {
Content: import('astro/runtime/server/index.js').AstroComponentFactory; Content: import('astro/runtime/server/index.js').AstroComponentFactory;
headings: import('astro').MarkdownHeading[]; headings: import('astro').MarkdownHeading[];
remarkPluginFrontmatter: Record<string, any>; remarkPluginFrontmatter: Record<string, any>;