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:
parent
84193e3ea1
commit
c15cb36636
2 changed files with 7 additions and 0 deletions
5
.changeset/rich-months-develop.md
Normal file
5
.changeset/rich-months-develop.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/markdown-component': patch
|
||||
---
|
||||
|
||||
Fix TypeScript error when importing the component
|
|
@ -50,4 +50,6 @@ if (content) {
|
|||
html = htmlContent;
|
||||
---
|
||||
|
||||
<>
|
||||
{html ? <Fragment set:html={html} /> : <slot />}
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue