ITADN

SVG attribute xmlns:xlink is unrecognized by glint

#1029ClosedLucasHillDex 创建于 2025-12-30
L
LucasHillDexcommented
A lot of my SVG issues with glint were resolved recently (thank you!) but I'm still seeing this error: ``` <svg width="102px" height="128px" viewBox="0 0 102 128" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> ... </svg> ``` Produces error: ``` Object literal may only specify known properties, and '"xmlns:xlink"' does not exist in type 'Partial<WithDataAttributes<SVGSVGElementAttributes>>'.glint(2353) ```` I believe this is valid? https://stackoverflow.com/a/34249810 Thank you!
关闭于 2026-01-30 2 条评论