#data-astro-reload linting warn using Link component with HTMLAtttributes<"a"> type

1 messages · Page 1 of 1 (latest)

icy finch
#

Am i doing something working?

neat forge
icy finch
#

yes

#

i get a warning that says i only can put that attr on anchors

#

but my link component extends anchor type 🫤

#

i also have a form on the same page and its not giving warning as expected

neat forge
#

I wish I could help more but I don't use typescript >.<

#

Have you tried putting it straght onto the <a> tag instead of as props?