mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(types): style attribute svg (#12800)
Set style attribute on svg to use `StyleValue`
This commit is contained in:
parent
4cad410071
commit
8e262618cd
2
types/jsx.d.ts
vendored
2
types/jsx.d.ts
vendored
@ -731,7 +731,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
|
||||
|
Loading…
Reference in New Issue
Block a user