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