Skip to content

Commit

Permalink
fix max and min type definition to allow number (#4598)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Marinucci <luca.marinucci@devlux.ch>
  • Loading branch information
devlux and Luca Marinucci authored Dec 7, 2024
1 parent b864138 commit dee5673
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1909,8 +1909,8 @@ export namespace JSXInternal {
form?: Signalish<string | undefined>;
high?: Signalish<number | undefined>;
low?: Signalish<number | undefined>;
max?: Signalish<string | undefined>;
min?: Signalish<string | undefined>;
max?: Signalish<number | string | undefined>;
min?: Signalish<number | string | undefined>;
optimum?: Signalish<number | undefined>;
value?: Signalish<string | number | undefined>;
}
Expand Down Expand Up @@ -1965,7 +1965,7 @@ export namespace JSXInternal {

interface ProgressHTMLAttributes<T extends EventTarget>
extends HTMLAttributes<T> {
max?: Signalish<string | undefined>;
max?: Signalish<number | string | undefined>;
value?: Signalish<string | number | undefined>;
}

Expand Down

0 comments on commit dee5673

Please sign in to comment.