summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-07-19 11:41:29 -0400
committerGravatar GitHub <noreply@github.com> 2022-07-19 11:41:29 -0400
commit54865612ea412f3d6d9a986d9dc6d4bebb7c8a63 (patch)
treef8dada52b9b3883690e9e7016eea4a5c25a3f8d4
parente6e2160614c9af320419a599c42211d0147760f4 (diff)
downloadastro-54865612ea412f3d6d9a986d9dc6d4bebb7c8a63.tar.gz
astro-54865612ea412f3d6d9a986d9dc6d4bebb7c8a63.tar.zst
astro-54865612ea412f3d6d9a986d9dc6d4bebb7c8a63.zip
Add missing media attribute on MetaHTMLAttributes (#3974)
* Add missing media attribute on MetaHTMLAttributes * Fixed media not being optional, oops * Add changeset
-rw-r--r--.changeset/old-walls-draw.md5
-rw-r--r--packages/astro/astro-jsx.d.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/old-walls-draw.md b/.changeset/old-walls-draw.md
new file mode 100644
index 000000000..cda5405b3
--- /dev/null
+++ b/.changeset/old-walls-draw.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Added missing `media` attributes from the JSX definitions for the `meta` element
diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts
index cf76e6e58..2f01aafe4 100644
--- a/packages/astro/astro-jsx.d.ts
+++ b/packages/astro/astro-jsx.d.ts
@@ -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 {