fix(types): allow css variables in style binding (#5542)

This commit is contained in:
Package 2022-05-13 16:30:30 +08:00 committed by GitHub
parent 94a18197f3
commit 9def7aa508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'