You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If svg element has fillRule property, the following error appears:
Property 'fillrule` does not exist on type SVGProps<SVGSVGElement>
Note the lowercasing in the error message. The fillRule does exist on SVGAttrubutes interface, but for some reason the prop gets lowercased. Same doesn't happen for the viewBox attribute - it is recognized as is.
To Reproduce
<svgfillRule="evenodd"></svg>
Expected behavior
Expected to see no error
Screenshots
System (please complete the following information):
OS: Mac OS
IDE: VSCode
Plugin/Package: svelte2tsx, I guess
Workaround
I don't know a workaround, but it would helpful to know if there is a way to use tsignore in Svelte templates
The text was updated successfully, but these errors were encountered:
Describe the bug
If
svg
element hasfillRule
property, the following error appears:Note the lowercasing in the error message. The
fillRule
does exist on SVGAttrubutes interface, but for some reason the prop gets lowercased. Same doesn't happen for theviewBox
attribute - it is recognized as is.To Reproduce
Expected behavior
Expected to see no error
Screenshots
System (please complete the following information):
Workaround
I don't know a workaround, but it would helpful to know if there is a way to use tsignore in Svelte templates
The text was updated successfully, but these errors were encountered: