Skip to content

Commit 74f5140

Browse files
committed
fix: add fetchpriority to script and link tags
Works on more elements besides img fixes #10394
1 parent b63ab91 commit 74f5140

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/svelte/elements.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,7 @@ export interface HTMLLinkAttributes extends HTMLAttributes<HTMLLinkElement> {
10991099
sizes?: string | undefined | null;
11001100
type?: string | undefined | null;
11011101
charset?: string | undefined | null;
1102+
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
11021103
}
11031104

11041105
export interface HTMLMapAttributes extends HTMLAttributes<HTMLMapElement> {
@@ -1233,6 +1234,7 @@ export interface HTMLScriptAttributes extends HTMLAttributes<HTMLScriptElement>
12331234
charset?: string | undefined | null;
12341235
crossorigin?: string | undefined | null;
12351236
defer?: boolean | undefined | null;
1237+
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
12361238
integrity?: string | undefined | null;
12371239
nomodule?: boolean | undefined | null;
12381240
nonce?: string | undefined | null;

0 commit comments

Comments
 (0)