Skip to content

Commit

Permalink
fix(types): allow css variables in style binding (#5542)
Browse files Browse the repository at this point in the history
  • Loading branch information
2A5F committed May 13, 2022
1 parent 94a1819 commit 9def7aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9def7aa

Please sign in to comment.