Skip to content

Commit

Permalink
fix: Correct defaultValue property types for inputs, selects, & tex…
Browse files Browse the repository at this point in the history
…tareas (#4585)
  • Loading branch information
rschristian authored Nov 30, 2024
1 parent 42e7b45 commit 42524db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ export namespace JSXInternal {
capture?: Signalish<'user' | 'environment' | undefined>; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
checked?: Signalish<boolean | undefined>;
defaultChecked?: Signalish<boolean | undefined>;
defaultValue?: Signalish<string | undefined>;
defaultValue?: Signalish<string | number | undefined>;
disabled?: Signalish<boolean | undefined>;
enterKeyHint?: Signalish<
| 'enter'
Expand Down Expand Up @@ -1997,6 +1997,7 @@ export namespace JSXInternal {
extends HTMLAttributes<T> {
autocomplete?: Signalish<string | undefined>;
autoComplete?: Signalish<string | undefined>;
defaultValue?: Signalish<string | number | undefined>;
disabled?: Signalish<boolean | undefined>;
form?: Signalish<string | undefined>;
multiple?: Signalish<boolean | undefined>;
Expand Down Expand Up @@ -2060,6 +2061,7 @@ export namespace JSXInternal {
autocomplete?: Signalish<string | undefined>;
autoComplete?: Signalish<string | undefined>;
cols?: Signalish<number | undefined>;
defaultValue?: Signalish<string | undefined>;
dirName?: Signalish<string | undefined>;
disabled?: Signalish<boolean | undefined>;
form?: Signalish<string | undefined>;
Expand Down

0 comments on commit 42524db

Please sign in to comment.