0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

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>
This commit is contained in:
Tony Sullivan 2023-03-24 15:36:11 -05:00 committed by GitHub
parent 12d42f47bd
commit 25cd3e5749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fixes an attribute naming mismatch in the definition for <link> elements in astro.JSX

View file

@ -789,9 +789,9 @@ declare namespace astroHTML.JSX {
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
integrity?: string | undefined | null; integrity?: string | undefined | null;
media?: string | undefined | null; media?: string | undefined | null;
imageSrcSet?: string | undefined | null; imagesrcset?: string | undefined | null;
imageSizes?: string | undefined | null; imagesizes?: string | undefined | null;
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined | null; referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
rel?: string | undefined | null; rel?: string | undefined | null;
sizes?: string | undefined | null; sizes?: string | undefined | null;
type?: string | undefined | null; type?: string | undefined | null;