mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
Export the RenderResult type (#11974)
This commit is contained in:
parent
7f4e162924
commit
60211defbf
2 changed files with 6 additions and 1 deletions
5
.changeset/eighty-bags-cross.md
Normal file
5
.changeset/eighty-bags-cross.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Exports the `RenderResult` type
|
2
packages/astro/templates/content/types.d.ts
vendored
2
packages/astro/templates/content/types.d.ts
vendored
|
@ -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>;
|
||||
|
|
Loading…
Add table
Reference in a new issue