Skip to content

Commit

Permalink
fix: add fetchpriority to script and link tags (#10403)
Browse files Browse the repository at this point in the history
Works on more elements besides img
  • Loading branch information
dummdidumm authored Feb 5, 2024
1 parent c15e021 commit 2d7884a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/svelte/elements.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2d7884a

Please sign in to comment.