From 25cd3e574999c1c7294a089ad8c39df27ccdbf17 Mon Sep 17 00:00:00 2001 From: Tony Sullivan <15836226+tony-sull@users.noreply.github.com> Date: Fri, 24 Mar 2023 15:36:11 -0500 Subject: [PATCH] fix: updating HTML attribute types for the element (#6639) * fix: updating a few camel-cased properties on the LinkHTMLAttributes type * chore: add changeset --------- Co-authored-by: Tony Sullivan --- .changeset/perfect-rabbits-repair.md | 5 +++++ packages/astro/astro-jsx.d.ts | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/perfect-rabbits-repair.md diff --git a/.changeset/perfect-rabbits-repair.md b/.changeset/perfect-rabbits-repair.md new file mode 100644 index 000000000..e7bf45e02 --- /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 fc38e5c1b..9f89b8dd0 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;