From: Evan You Date: Mon, 13 Nov 2023 07:23:16 +0000 (+0800) Subject: fix(types): revert class type restrictions X-Git-Tag: v3.3.9~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d077c8754cc14f85d2d6d386df70cf8c0d93842;p=thirdparty%2Fvuejs%2Fcore.git fix(types): revert class type restrictions reverts #8012 due to breakage in downstream types --- diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index 08d9e2bec9..dfa4fc561c 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -252,16 +252,10 @@ export type StyleValue = | CSSProperties | Array -export type ClassValue = - | undefined - | string - | Record - | Array - export interface HTMLAttributes extends AriaAttributes, EventHandlers { innerHTML?: string - class?: ClassValue + class?: any style?: StyleValue // Standard HTML Attributes