@@ -221,6 +221,9 @@ module Bindings =
221
221
[<Erase>]
222
222
member this.onChange
223
223
with set ( _ : Event -> unit ) = ()
224
+ [<Erase>]
225
+ member this.onInput
226
+ with set ( _ : InputEvent -> unit ) = ()
224
227
225
228
type textarea with
226
229
[<Erase>]
@@ -512,12 +515,14 @@ module Bindings =
512
515
member this.useShadow
513
516
with set ( value : bool ) = ()
514
517
518
+ module ErrorBoundary =
519
+ type Fallback = delegate of err : obj * reset : ( unit -> unit ) -> HtmlElement
515
520
[<Erase>]
516
521
type ErrorBoundary () =
517
522
interface HtmlContainer
518
523
[<Erase>]
519
524
member this.fallback
520
- with set ( value : HtmlElement ) = ()
525
+ with set ( value : ErrorBoundary.Fallback ) = ()
521
526
522
527
[<Erase>]
523
528
type Extensions =
@@ -621,7 +626,7 @@ type Bindings =
621
626
static member render ( code : unit -> #HtmlElement , element : #Element ) : unit = jsNative
622
627
623
628
[<ImportMember( " solid-js/web" ) >]
624
- static member renderToString ( fn : ( unit -> #HtmlElement ) ) : string = jsNative
629
+ static member renderToString ( fn : unit -> #HtmlElement ) : string = jsNative
625
630
626
631
[<ImportMember( " solid-js" ) >]
627
632
static member createSignal ( value : 'T ) : Signal < 'T > = jsNative
@@ -662,22 +667,22 @@ type Bindings =
662
667
static member reconcile < 'T , 'U >( value : 'T ) : ( 'U -> 'T ) = jsNative
663
668
664
669
[<ImportMember( " solid-js/store" ) >]
665
- static member produce < 'T >( fn : ( 'T -> unit ) ) : ( 'T -> 'T ) = jsNative
670
+ static member produce < 'T >( fn : 'T -> unit ) : ( 'T -> 'T ) = jsNative
666
671
667
672
[<ImportMember( " solid-js/store" ) >]
668
673
static member unwrap < 'T >( item : 'T ) : 'T = jsNative
669
674
670
675
[<ImportMember( " solid-js" ) >]
671
- static member batch < 'T >( fn : ( unit -> 'T ) ) : 'T = jsNative
676
+ static member batch < 'T >( fn : unit -> 'T ) : 'T = jsNative
672
677
673
678
[<ImportMember( " solid-js" ) >]
674
- static member catchError < 'T >( tryFn : ( unit -> 'T ) , onError : ( obj -> unit ) ) : 'T = jsNative
679
+ static member catchError < 'T >( tryFn : unit -> 'T , onError : obj -> unit ) : 'T = jsNative
675
680
676
681
[<ImportMember( " solid-js" ) >]
677
- static member onCleanup ( fn : ( unit -> unit ) ) : unit = jsNative
682
+ static member onCleanup ( fn : unit -> unit ) : unit = jsNative
678
683
679
684
[<ImportMember( " solid-js" ) >]
680
- static member onMount ( fn : ( unit -> unit ) ) : unit = jsNative
685
+ static member onMount ( fn : unit -> unit ) : unit = jsNative
681
686
682
687
[<ImportMember( " solid-js" ) >]
683
688
static member useTransition () : ( unit -> bool ) * (( unit -> unit ) -> JS.Promise < unit >) = jsNative
0 commit comments