Plain string for <Link onload="..."> shows warning
I want to preload google fonts in the
yet, typescript can't seem to find that attribute, i.e.:
root.tsx like so:yet, typescript can't seem to find that attribute, i.e.:
Type '{ rel: string; href: string; as: "style"; "attr:onload": string; }' is not assignable to type 'IntrinsicAttributes & LinkHTMLAttributes<HTMLLinkElement>'.How can I use
Property 'attr:onload' does not exist on type 'IntrinsicAttributes & LinkHTMLAttributes<HTMLLinkElement>'
attr: to make clear I want to set my attribute as plain text?


