Skip to content

Commit

Permalink
Fix error on Main.fs
Browse files Browse the repository at this point in the history
  • Loading branch information
Got17 committed Feb 24, 2025
1 parent 66e6835 commit 453dd4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WebSharper.WebSerial/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,13 @@ module Definition =
"getSignals" => T<unit> ^-> T<Promise<_>>[SerialPortSignals]

"onconnect" =@ T<unit> ^-> T<unit>
|> ObsoleteWithMessage "Use OnConnect instead"
"onconnect" =@ T<Dom.Event> ^-> T<unit>
|> WithSourceName "OnConnect"
"ondisconnect" =@ T<unit> ^-> T<unit>
|> ObsoleteWithMessage "Use OnDisconnect instead"
"ondisconnect" =@ T<Dom.Event> ^-> T<unit>
|> WithSourceName "OnDisconnect"
]

let Serial =
Expand Down

0 comments on commit 453dd4e

Please sign in to comment.