types: extend CSSProperties with PropertiesHyphen (#4553)

fix #4552
This commit is contained in:
Wouter Kettlitz 2021-09-16 17:46:41 +02:00 committed by GitHub
parent f29d061124
commit 8370118c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@
import { VNode } from '@vue/runtime-core' import { VNode } from '@vue/runtime-core'
import * as CSS from 'csstype' 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 * The index signature was removed to enable closed typing for style
* using CSSType. You're able to use type assertion or module augmentation * using CSSType. You're able to use type assertion or module augmentation