mirror of https://github.com/vuejs/core.git
fix(types): revert class type restrictions
reverts #8012 due to breakage in downstream types
This commit is contained in:
parent
fc7902982a
commit
5d077c8754
|
@ -252,16 +252,10 @@ export type StyleValue =
|
||||||
| CSSProperties
|
| CSSProperties
|
||||||
| Array<StyleValue>
|
| Array<StyleValue>
|
||||||
|
|
||||||
export type ClassValue =
|
|
||||||
| undefined
|
|
||||||
| string
|
|
||||||
| Record<string | number, any>
|
|
||||||
| Array<ClassValue>
|
|
||||||
|
|
||||||
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
||||||
innerHTML?: string
|
innerHTML?: string
|
||||||
|
|
||||||
class?: ClassValue
|
class?: any
|
||||||
style?: StyleValue
|
style?: StyleValue
|
||||||
|
|
||||||
// Standard HTML Attributes
|
// Standard HTML Attributes
|
||||||
|
|
Loading…
Reference in New Issue