Skip to content

Commit 0c05034

Browse files
committed
fix: import types from @astrojs/markdoc
1 parent 57e741a commit 0c05034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/integrations/markdoc/template/content-module-types.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ declare module 'astro:content' {
55
component: import('astro').ComponentInstance['default'];
66
props?(params: {
77
attributes: Record<string, any>;
8-
getTreeNode(): import('@markdoc/markdoc').Tag;
8+
getTreeNode(): import('@astrojs/markdoc').Markdoc.Tag;
99
}): Record<string, any>;
1010
};
1111

1212
interface Render {
1313
'.mdoc': Promise<{
1414
Content(props: {
15-
config?: import('@markdoc/markdoc').Config;
15+
config?: import('@astrojs/markdoc').Markdoc.Config;
1616
components?: Record<string, ComponentRenderer>;
1717
}): import('astro').MarkdownInstance<{}>['Content'];
1818
}>;

0 commit comments

Comments
 (0)