xmlns
attribute not present in HTMLAttributes type
#16079
Labels
good first issue
A small, encapsulated issue, ideal for a new contributor to Svelte to tackle.
types / typescript
Describe the bug
When using
<svelte:element>
with anxmlns
attribute, we get a type error, even though the attribute should be allowed.https://www.w3schools.com/xml/xml_namespaces.asp
Reproduction
Create a
<svelte:element this="div">
that is not a svg element, and add thexmlns
attribute to it and notice the type error.Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: