fix: add `fetchpriority` to `script` and `link` tags

Works on more elements besides img
fixes #10394
pull/10402/head
Simon Holthausen 9 months ago
parent b63ab91c7b
commit 74f51401aa

@ -1099,6 +1099,7 @@ export interface HTMLLinkAttributes extends HTMLAttributes<HTMLLinkElement> {
sizes?: string | undefined | null;
type?: string | undefined | null;
charset?: string | undefined | null;
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
}
export interface HTMLMapAttributes extends HTMLAttributes<HTMLMapElement> {
@ -1233,6 +1234,7 @@ export interface HTMLScriptAttributes extends HTMLAttributes<HTMLScriptElement>
charset?: string | undefined | null;
crossorigin?: string | undefined | null;
defer?: boolean | undefined | null;
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
integrity?: string | undefined | null;
nomodule?: boolean | undefined | null;
nonce?: string | undefined | null;

Loading…
Cancel
Save