SVG-children lead to a type error
<svg width="100%" height="100%">
<text textLength="100%">foobar</text>
</svg>
This leads to:
Argument of type '{ textLength: string; }' is not assignable to parameter of type 'never'.
On the text element.
Version 1.7.0.
cc @NullVoxPopuli
We see all sorts of errors with SVGs for example:
<svg
width="103px"
height="27px"
viewBox="0 0 103 27"
version="1.1"
>
<defs>
<polygon
id="path-1"
points="4.56610247 0.0328177059 0 0.0328177059 0 10.0018796 9.13220494 10.0018796 9.13220494 0.0328177059 4.56610247 0.0328177059"
></polygon>
</defs>
</svg>
produces error:
Argument of type '{ id: string; points: string; }' is not assignable to parameter of type 'never'.glint(2345)
I haven't been able to repro this in the Glint repo -- do you have a project I could use to debug?
@NullVoxPopuli in my case it's in an HBS file, so Glint v1. Not sure if it matters.
ah, yes! thank for clarification -- GlintV1 is no longer where I'm spending my Glint time, but I will accept PRs to the v1 branch, here: https://github.com/typed-ember/glint/tree/v1.x
I believe this has been fixed with @glint/template 1.7.4. Is that expected, @NullVoxPopuli?
ye! thanks for checking in!