diff --git a/.changeset/rich-months-develop.md b/.changeset/rich-months-develop.md new file mode 100644 index 000000000..2f6c63893 --- /dev/null +++ b/.changeset/rich-months-develop.md @@ -0,0 +1,5 @@ +--- +'@astrojs/markdown-component': patch +--- + +Fix TypeScript error when importing the component diff --git a/packages/markdown/component/Markdown.astro b/packages/markdown/component/Markdown.astro index 7e346b4cc..c581c72b0 100644 --- a/packages/markdown/component/Markdown.astro +++ b/packages/markdown/component/Markdown.astro @@ -50,4 +50,6 @@ if (content) { html = htmlContent; --- +<> {html ? : } +