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:
parent
e6e2160614
commit
54865612ea
2 changed files with 6 additions and 0 deletions
5
.changeset/old-walls-draw.md
Normal file
5
.changeset/old-walls-draw.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Added missing `media` attributes from the JSX definitions for the `meta` element
|
1
packages/astro/astro-jsx.d.ts
vendored
1
packages/astro/astro-jsx.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue