fix: import types from @astrojs/markdoc

This commit is contained in:
bholmesdev 2023-02-14 11:32:19 -05:00
parent afdee67190
commit 60c86b146a

View file

@ -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'];
}>;