Skip to content

Commit

Permalink
fix(types): widen ClassValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 10, 2023
1 parent 5156ac5 commit 2424013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export type StyleValue =
export type ClassValue =
| undefined
| string
| Record<string | number, unknown>
| Record<string | number, any>
| Array<ClassValue>

export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
Expand Down

0 comments on commit 2424013

Please sign in to comment.