fix: add `fetchpriority` to `script` and `link` tags (#10403)

Works on more elements besides img
pull/10340/head
Simon H 2 years ago committed by GitHub
parent c15e021e22
commit 2d7884aafb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -882,6 +882,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> {
@ -1016,6 +1017,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