]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): allow css variables in style binding (#5542)
authorPackage <Aditrc@outlook.com>
Fri, 13 May 2022 08:30:30 +0000 (16:30 +0800)
committerGitHub <noreply@github.com>
Fri, 13 May 2022 08:30:30 +0000 (04:30 -0400)
packages/runtime-dom/types/jsx.d.ts

index ee4f57afd9ac535768ccc3ee312322424f4299e6..38a7b5e77fd1bc65eca5e464f15865429d49fd7e 100644 (file)
@@ -40,6 +40,8 @@ export interface CSSProperties
    * For examples and more information, visit:
    * https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
    */
+      
+  [v: `--${string}`]: string | number | undefined
 }
 
 type Booleanish = boolean | 'true' | 'false'