fix: import types from @astrojs/markdoc

This commit is contained in:
bholmesdev 2023-02-14 11:32:19 -05:00
parent d24883f3f4
commit 785bd200c7

View file

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