From: JayMe DotDot <43527124+JayMeDotDot@users.noreply.github.com> Date: Mon, 10 Jul 2023 09:59:44 +0000 (+0800) Subject: fix(types): support correct types for style on svg elements (#6322) X-Git-Tag: v3.3.5~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=364dc53c7cc6f97d812ad175199c698faa92538e;p=thirdparty%2Fvuejs%2Fcore.git fix(types): support correct types for style on svg elements (#6322) --- diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index fe850a7b28..f76c8d7fb1 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -775,7 +775,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers { * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling */ class?: any - style?: string | CSSProperties + style?: StyleValue color?: string height?: Numberish