From 9def7aa50827b12fdfbef28e5db6f373d5cba279 Mon Sep 17 00:00:00 2001 From: Package Date: Fri, 13 May 2022 16:30:30 +0800 Subject: [PATCH] fix(types): allow css variables in style binding (#5542) --- packages/runtime-dom/types/jsx.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index ee4f57afd9a..38a7b5e77fd 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -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'