From: Package Date: Fri, 13 May 2022 08:30:30 +0000 (+0800) Subject: fix(types): allow css variables in style binding (#5542) X-Git-Tag: v3.2.34-beta.1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9def7aa50827b12fdfbef28e5db6f373d5cba279;p=thirdparty%2Fvuejs%2Fcore.git fix(types): allow css variables in style binding (#5542) --- diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index ee4f57afd9..38a7b5e77f 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'