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:
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' {
|
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>;
|
||||||
|
|
Loading…
Reference in a new issue