Skip to content

Commit 9def7aa

Browse files
authored
fix(types): allow css variables in style binding (#5542)
1 parent 94a1819 commit 9def7aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/runtime-dom/types/jsx.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export interface CSSProperties
4040
* For examples and more information, visit:
4141
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
4242
*/
43+
44+
[v: `--${string}`]: string | number | undefined
4345
}
4446

4547
type Booleanish = boolean | 'true' | 'false'

0 commit comments

Comments
 (0)