From ce1b7df99e83fb2a022342ddd43043e8127a9af6 Mon Sep 17 00:00:00 2001 From: GoodbyeNJN Date: Wed, 6 Sep 2023 15:22:43 +0800 Subject: [PATCH] add `media` property for `MetaHTMLAttributes` interface --- packages/dom-expressions/src/jsx-h.d.ts | 1 + packages/dom-expressions/src/jsx.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/dom-expressions/src/jsx-h.d.ts b/packages/dom-expressions/src/jsx-h.d.ts index d537bb6d..df927ecb 100644 --- a/packages/dom-expressions/src/jsx-h.d.ts +++ b/packages/dom-expressions/src/jsx-h.d.ts @@ -914,6 +914,7 @@ export namespace JSX { content?: FunctionMaybe; "http-equiv"?: FunctionMaybe; name?: FunctionMaybe; + media?: FunctionMaybe; } interface MeterHTMLAttributes extends HTMLAttributes { form?: FunctionMaybe; diff --git a/packages/dom-expressions/src/jsx.d.ts b/packages/dom-expressions/src/jsx.d.ts index bc15014a..46c4b6a0 100644 --- a/packages/dom-expressions/src/jsx.d.ts +++ b/packages/dom-expressions/src/jsx.d.ts @@ -995,6 +995,7 @@ export namespace JSX { content?: string; "http-equiv"?: string; name?: string; + media?: string; } interface MeterHTMLAttributes extends HTMLAttributes { form?: string;