]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
types: extend CSSProperties with PropertiesHyphen (#4553)
authorWouter Kettlitz <W.Kettlitz@pm.me>
Thu, 16 Sep 2021 15:46:41 +0000 (17:46 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Sep 2021 15:46:41 +0000 (11:46 -0400)
fix #4552

packages/runtime-dom/types/jsx.d.ts

index e4077ad5d97a490a71617b5493516ae1c3c3ee3f..5cd19cc88f03d8a92a0f573bf1ef1dfc76ec2aaa 100644 (file)
@@ -29,7 +29,7 @@
 import { VNode } from '@vue/runtime-core'
 import * as CSS from 'csstype'
 
-export interface CSSProperties extends CSS.Properties<string | number> {
+export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
   /**
    * The index signature was removed to enable closed typing for style
    * using CSSType. You're able to use type assertion or module augmentation