From: beary Date: Wed, 12 Aug 2020 19:50:11 +0000 (+0800) Subject: fix(types/jsx): update innerHTML property in jsx typing (#1814) X-Git-Tag: v3.0.0-rc.6~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b984d47ac43a0aae2db5556a138a256fb5533ced;p=thirdparty%2Fvuejs%2Fcore.git fix(types/jsx): update innerHTML property in jsx typing (#1814) --- diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index 2c9daff29d..766b6ca75b 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -246,7 +246,7 @@ interface AriaAttributes { } export interface HTMLAttributes extends AriaAttributes { - domPropsInnerHTML?: string + innerHTML?: string class?: any style?: string | CSSProperties @@ -735,7 +735,14 @@ export interface WebViewHTMLAttributes extends HTMLAttributes { } export interface SVGAttributes extends AriaAttributes { - domPropsInnerHTML?: string + innerHTML?: string + + /** + * SVG Styling Attributes + * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling + */ + class?: any + style?: string | CSSProperties color?: string height?: number | string