diff --git a/.changeset/perfect-rabbits-repair.md b/.changeset/perfect-rabbits-repair.md new file mode 100644 index 0000000000..e7bf45e02c --- /dev/null +++ b/.changeset/perfect-rabbits-repair.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes an attribute naming mismatch in the definition for elements in astro.JSX diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index fc38e5c1b3..9f89b8dd06 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -789,9 +789,9 @@ declare namespace astroHTML.JSX { fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; integrity?: string | undefined | null; media?: string | undefined | null; - imageSrcSet?: string | undefined | null; - imageSizes?: string | undefined | null; - referrerPolicy?: HTMLAttributeReferrerPolicy | undefined | null; + imagesrcset?: string | undefined | null; + imagesizes?: string | undefined | null; + referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null; rel?: string | undefined | null; sizes?: string | undefined | null; type?: string | undefined | null;