Skip to content

Commit 2d7884a

Browse files
authored
fix: add fetchpriority to script and link tags (#10403)
Works on more elements besides img
1 parent c15e021 commit 2d7884a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/svelte/elements.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ export interface HTMLLinkAttributes extends HTMLAttributes<HTMLLinkElement> {
882882
sizes?: string | undefined | null;
883883
type?: string | undefined | null;
884884
charset?: string | undefined | null;
885+
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
885886
}
886887

887888
export interface HTMLMapAttributes extends HTMLAttributes<HTMLMapElement> {
@@ -1016,6 +1017,7 @@ export interface HTMLScriptAttributes extends HTMLAttributes<HTMLScriptElement>
10161017
charset?: string | undefined | null;
10171018
crossorigin?: string | undefined | null;
10181019
defer?: boolean | undefined | null;
1020+
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
10191021
integrity?: string | undefined | null;
10201022
nomodule?: boolean | undefined | null;
10211023
nonce?: string | undefined | null;

0 commit comments

Comments
 (0)