diff --git a/.changeset/clever-queens-beam.md b/.changeset/clever-queens-beam.md new file mode 100644 index 000000000000..3cc5f95fd4d2 --- /dev/null +++ b/.changeset/clever-queens-beam.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Add missing `fetchpriority` attribute to img, link, script and iframe elements diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index f7fbfd8f9036..38e924523f5a 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -663,6 +663,7 @@ declare namespace astroHTML.JSX { allow?: string | undefined | null; allowfullscreen?: boolean | string | undefined | null; allowtransparency?: boolean | string | undefined | null; + fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; /** @deprecated */ frameborder?: number | string | undefined | null; height?: number | string | undefined | null; @@ -686,6 +687,7 @@ declare namespace astroHTML.JSX { alt?: string | undefined | null; crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null; decoding?: 'async' | 'auto' | 'sync' | undefined | null; + fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; height?: number | string | undefined | null; loading?: 'eager' | 'lazy' | undefined | null; referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null; @@ -784,6 +786,7 @@ declare namespace astroHTML.JSX { crossorigin?: boolean | string | undefined | null; href?: string | URL | undefined | null; hreflang?: string | undefined | null; + fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; integrity?: string | undefined | null; media?: string | undefined | null; imageSrcSet?: string | undefined | null; @@ -893,6 +896,7 @@ declare namespace astroHTML.JSX { charset?: string | undefined | null; crossorigin?: string | undefined | null; defer?: boolean | string | undefined | null; + fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; integrity?: string | undefined | null; nomodule?: boolean | string | undefined | null; nonce?: string | undefined | null;