fix: import types from @astrojs/markdoc
This commit is contained in:
parent
d24883f3f4
commit
785bd200c7
1 changed files with 2 additions and 2 deletions
|
@ -5,14 +5,14 @@ declare module 'astro:content' {
|
||||||
component: import('astro').ComponentInstance['default'];
|
component: import('astro').ComponentInstance['default'];
|
||||||
props?(params: {
|
props?(params: {
|
||||||
attributes: Record<string, any>;
|
attributes: Record<string, any>;
|
||||||
getTreeNode(): import('@markdoc/markdoc').Tag;
|
getTreeNode(): import('@astrojs/markdoc').Markdoc.Tag;
|
||||||
}): Record<string, any>;
|
}): Record<string, any>;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface Render {
|
interface Render {
|
||||||
'.mdoc': Promise<{
|
'.mdoc': Promise<{
|
||||||
Content(props: {
|
Content(props: {
|
||||||
config?: import('@markdoc/markdoc').Config;
|
config?: import('@astrojs/markdoc').Markdoc.Config;
|
||||||
components?: Record<string, ComponentRenderer>;
|
components?: Record<string, ComponentRenderer>;
|
||||||
}): import('astro').MarkdownInstance<{}>['Content'];
|
}): import('astro').MarkdownInstance<{}>['Content'];
|
||||||
}>;
|
}>;
|
||||||
|
|
Loading…
Reference in a new issue