]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types/jsx): update innerHTML property in jsx typing (#1814)
authorbeary <bearyme@outlook.com>
Wed, 12 Aug 2020 19:50:11 +0000 (03:50 +0800)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2020 19:50:11 +0000 (15:50 -0400)
packages/runtime-dom/types/jsx.d.ts

index 2c9daff29dde91c3ca2a5b4c23d0cba8a71222ac..766b6ca75b64de2cb354c0cb1e7137d9f81733d5 100644 (file)
@@ -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