Skip to content

Commit

Permalink
fix: import types from @astrojs/markdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Feb 16, 2023
1 parent 57e741a commit 0c05034
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}>;
Expand Down

0 comments on commit 0c05034

Please sign in to comment.