Skip to content

Commit

Permalink
fix: updating HTML attribute types for the <link> element (#6639)
Browse files Browse the repository at this point in the history
* fix: updating a few camel-cased properties on the LinkHTMLAttributes type

* chore: add changeset

---------

Co-authored-by: Tony Sullivan <[email protected]>
  • Loading branch information
tony-sull and Tony Sullivan committed Mar 24, 2023
1 parent 12d42f4 commit 25cd3e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-rabbits-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes an attribute naming mismatch in the definition for <link> elements in astro.JSX
6 changes: 3 additions & 3 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 25cd3e5

Please sign in to comment.