From 54865612ea412f3d6d9a986d9dc6d4bebb7c8a63 Mon Sep 17 00:00:00 2001 From: Erika <3019731+Princesseuh@users.noreply.github.com> Date: Tue, 19 Jul 2022 11:41:29 -0400 Subject: [PATCH] Add missing media attribute on MetaHTMLAttributes (#3974) * Add missing media attribute on MetaHTMLAttributes * Fixed media not being optional, oops * Add changeset --- .changeset/old-walls-draw.md | 5 +++++ packages/astro/astro-jsx.d.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/old-walls-draw.md diff --git a/.changeset/old-walls-draw.md b/.changeset/old-walls-draw.md new file mode 100644 index 0000000000..cda5405b33 --- /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 cf76e6e58e..2f01aafe47 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 {