fix(types): allow css variables in style binding (#5542)
This commit is contained in:
parent
94a18197f3
commit
9def7aa508
2
packages/runtime-dom/types/jsx.d.ts
vendored
2
packages/runtime-dom/types/jsx.d.ts
vendored
@ -40,6 +40,8 @@ export interface CSSProperties
|
|||||||
* For examples and more information, visit:
|
* For examples and more information, visit:
|
||||||
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
[v: `--${string}`]: string | number | undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
type Booleanish = boolean | 'true' | 'false'
|
type Booleanish = boolean | 'true' | 'false'
|
||||||
|
Loading…
Reference in New Issue
Block a user