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
|
||||
| Array<StyleValue>
|
||||
|
||||
export type ClassValue =
|
||||
| undefined
|
||||
| string
|
||||
| Record<string | number, any>
|
||||
| Array<ClassValue>
|
||||
|
||||
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
||||
innerHTML?: string
|
||||
|
||||
class?: ClassValue
|
||||
class?: any
|
||||
style?: StyleValue
|
||||
|
||||
// Standard HTML Attributes
|
||||
|
|
Loading…
Reference in New Issue