diff options
author | 2022-07-19 11:41:29 -0400 | |
---|---|---|
committer | 2022-07-19 11:41:29 -0400 | |
commit | 54865612ea412f3d6d9a986d9dc6d4bebb7c8a63 (patch) | |
tree | f8dada52b9b3883690e9e7016eea4a5c25a3f8d4 | |
parent | e6e2160614c9af320419a599c42211d0147760f4 (diff) | |
download | astro-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.md | 5 | ||||
-rw-r--r-- | packages/astro/astro-jsx.d.ts | 1 |
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 { |