Property 'pathLength' does not exist on type 'CircleSVGAttributes<SVGCircleElement>'
I was trying setting the
pathLength
property but I get the TS error above, not sure if the property is missing in the types or what
2 Replies
I recently had a similar issue with GrandientSVGAttributes. The interfaces are not complete. It seems like
pathLength
is missing on the interface ShapeElementSVGAttributes
. You could open a PR adding it to the dom-expressions
repo. https://github.com/ryansolid/dom-expressions
You can also override it for now with something like this
thanks!