Skip to content

Commit 5d077c8

Browse files
committedNov 13, 2023
fix(types): revert class type restrictions
reverts #8012 due to breakage in downstream types
1 parent fc79029 commit 5d077c8

File tree

1 file changed

+1
-7
lines changed
  • packages/runtime-dom/src

1 file changed

+1
-7
lines changed
 

‎packages/runtime-dom/src/jsx.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,10 @@ export type StyleValue =
252252
| CSSProperties
253253
| Array<StyleValue>
254254

255-
export type ClassValue =
256-
| undefined
257-
| string
258-
| Record<string | number, any>
259-
| Array<ClassValue>
260-
261255
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
262256
innerHTML?: string
263257

264-
class?: ClassValue
258+
class?: any
265259
style?: StyleValue
266260

267261
// Standard HTML Attributes

0 commit comments

Comments
 (0)
Please sign in to comment.