From 6cc4b4e3140710b0f0fd29a63262aa7492e4bab2 Mon Sep 17 00:00:00 2001 From: mwszekely <19625841+mwszekely@users.noreply.github.com> Date: Wed, 12 Oct 2022 12:39:48 -0400 Subject: [PATCH 1/2] Fix props not spreadable to input elements --- src/jsx.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 514df13cf2..b04016bed5 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -977,7 +977,7 @@ export namespace JSXInternal { i: HTMLAttributes; iframe: HTMLAttributes; img: HTMLAttributes; - input: HTMLAttributes & { defaultValue?: string }; + input: HTMLAttributes & { defaultValue?: string | SignalLike }; ins: HTMLAttributes; kbd: HTMLAttributes; keygen: HTMLAttributes; From b99d217b16cf9b5e544e46af5ea6095fd87092a6 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Sat, 15 Oct 2022 09:35:52 +0200 Subject: [PATCH 2/2] Drop duplicate defaultValue definition --- src/jsx.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index b04016bed5..2fb6813776 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -977,7 +977,7 @@ export namespace JSXInternal { i: HTMLAttributes; iframe: HTMLAttributes; img: HTMLAttributes; - input: HTMLAttributes & { defaultValue?: string | SignalLike }; + input: HTMLAttributes; ins: HTMLAttributes; kbd: HTMLAttributes; keygen: HTMLAttributes;