From 9c2b6644da37d79fb7ec613f664f352033d9742f Mon Sep 17 00:00:00 2001 From: wxy Date: Wed, 22 Jul 2020 21:26:39 +0800 Subject: [PATCH] fix(runtime-dom): Tag menuitem and big attributes are obsolete --- packages/runtime-dom/types/jsx.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index 2c9daff29dd..71ba1750ff9 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -1017,6 +1017,10 @@ interface IntrinsicElementAttributes { base: BaseHTMLAttributes bdi: HTMLAttributes bdo: HTMLAttributes + /** + * https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/big + * @deprecated in ARIA 1.1 + */ big: HTMLAttributes blockquote: BlockquoteHTMLAttributes body: HTMLAttributes @@ -1071,6 +1075,10 @@ interface IntrinsicElementAttributes { map: MapHTMLAttributes mark: HTMLAttributes menu: MenuHTMLAttributes + /** + * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem + * @deprecated in ARIA 1.1 + */ menuitem: HTMLAttributes meta: MetaHTMLAttributes meter: MeterHTMLAttributes