summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Tony Sullivan <15836226+tony-sull@users.noreply.github.com> 2023-03-24 15:36:11 -0500
committerGravatar GitHub <noreply@github.com> 2023-03-24 15:36:11 -0500
commit25cd3e574999c1c7294a089ad8c39df27ccdbf17 (patch)
treec367cc46df51055909d38eaa68ebb81528ad2def
parent12d42f47bd7edf3f92c85d63d6d17b2ed7d1051e (diff)
downloadastro-25cd3e574999c1c7294a089ad8c39df27ccdbf17.tar.gz
astro-25cd3e574999c1c7294a089ad8c39df27ccdbf17.tar.zst
astro-25cd3e574999c1c7294a089ad8c39df27ccdbf17.zip
fix: updating HTML attribute types for the <link> element (#6639)
* fix: updating a few camel-cased properties on the LinkHTMLAttributes type * chore: add changeset --------- Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
-rw-r--r--.changeset/perfect-rabbits-repair.md5
-rw-r--r--packages/astro/astro-jsx.d.ts6
2 files changed, 8 insertions, 3 deletions
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 <link> 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;