Skip to content

Commit

Permalink
Update Main.fs
Browse files Browse the repository at this point in the history
  • Loading branch information
Got17 committed Feb 24, 2025
1 parent e0fbbad commit 66e6835
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WebSharper.WebSerial/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ module Definition =
"close" => T<unit> ^-> T<Promise<unit>>
"setSignals" => !?SerialPortSignalOptions?options ^-> T<Promise<unit>>
"getSignals" => T<unit> ^-> T<Promise<_>>[SerialPortSignals]

"onconnect" =@ T<unit> ^-> T<unit>
"onconnect" =@ T<Dom.Event> ^-> T<unit>
"ondisconnect" =@ T<unit> ^-> T<unit>
"ondisconnect" =@ T<Dom.Event> ^-> T<unit>
]

let Serial =
Expand Down

0 comments on commit 66e6835

Please sign in to comment.