Skip to content

Commit

Permalink
Add missing media attribute on MetaHTMLAttributes (#3974)
Browse files Browse the repository at this point in the history
* Add missing media attribute on MetaHTMLAttributes

* Fixed media not being optional, oops

* Add changeset
  • Loading branch information
Princesseuh authored Jul 19, 2022
1 parent e6e2160 commit 5486561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-walls-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Added missing `media` attributes from the JSX definitions for the `meta` element
1 change: 1 addition & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5486561

Please sign in to comment.