Add missing media attribute on MetaHTMLAttributes (#3974)

* Add missing media attribute on MetaHTMLAttributes

* Fixed media not being optional, oops

* Add changeset
This commit is contained in:
Erika 2022-07-19 11:41:29 -04:00 committed by GitHub
parent e6e2160614
commit 54865612ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Added missing `media` attributes from the JSX definitions for the `meta` element

View file

@ -820,6 +820,7 @@ declare namespace astroHTML.JSX {
content?: string | URL | undefined | null;
'http-equiv'?: string | undefined | null;
name?: string | undefined | null;
media?: string | undefined | null;
}
interface MeterHTMLAttributes extends HTMLAttributes {