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
When I enable both strictTemplates and dataAttributes together I see the following error on all elements with multi-word attributes like stroke-linecap:
src/base/icon/NavIcon.vue:717:11 - error TS2322: Type '{ id: string; d: string; transform: string; fill: string; stroke: string; strokeLinecap: string; strokeLinejoin: string; strokeWidth: string; }' is not assignable to type 'ElementAttrs<SVGAttributes>'.
Property 'strokeLinecap' does not exist on type 'ElementAttrs<SVGAttributes>'. Did you mean ''stroke-linecap''?
717 stroke-linecap="round"
~~~~~~~~~~~~~~
When I enable both
strictTemplates
anddataAttributes
together I see the following error on all elements with multi-word attributes likestroke-linecap
:This is in my tsconfig:
For now my workaround that seems to work is adding
"stroke-linecap"
to the "dataAttributes" arrayThe text was updated successfully, but these errors were encountered: