Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
marner2 committed Jun 4, 2024
1 parent 539ff65 commit 18b9ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Elmish.WPF/Binding.fs
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,15 @@ module Binding =
TwoWay.id
|> createBinding

/// Creates a one-way-to-source binding to an optional value. The binding
/// Creates a two-way binding to an optional value. The binding
/// automatically converts between a missing value in the model and
/// a <c>null</c> value in the view.
let vopt<'a> : string -> Binding<'a voption, 'a voption> =
id<obj>
>> mapModel ValueOption.box
>> mapMsg ValueOption.unbox

/// Creates a one-way-to-source binding to an optional value. The binding
/// Creates a two-way binding to an optional value. The binding
/// automatically converts between a missing value in the model and
/// a <c>null</c> value in the view.
let opt<'a> : string -> Binding<'a option, 'a option> =
Expand Down

0 comments on commit 18b9ae9

Please sign in to comment.