Fix shape of Markdown component to work with the language-server (#4085)

* Fix shape of Markdown component to work with the language-server

* Add changeset
This commit is contained in:
Erika 2022-07-28 16:00:11 -04:00 committed by GitHub
parent 84193e3ea1
commit c15cb36636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/markdown-component': patch
---
Fix TypeScript error when importing the component

View file

@ -50,4 +50,6 @@ if (content) {
html = htmlContent;
---
<>
{html ? <Fragment set:html={html} /> : <slot />}
</>