]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): support correct types for style on svg elements (#6322)
authorJayMe DotDot <43527124+JayMeDotDot@users.noreply.github.com>
Mon, 10 Jul 2023 09:59:44 +0000 (17:59 +0800)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 09:59:44 +0000 (17:59 +0800)
packages/runtime-dom/src/jsx.ts

index fe850a7b28e4186f12d602034c5fadbefaf4b02e..f76c8d7fb17c178e5f1afdcad76ab0716345c2bb 100644 (file)
@@ -775,7 +775,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
    * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
    */
   class?: any
-  style?: string | CSSProperties
+  style?: StyleValue
 
   color?: string
   height?: Numberish