Skip to content

Commit

Permalink
Fix test typing
Browse files Browse the repository at this point in the history
  • Loading branch information
marner2 committed Apr 5, 2023
1 parent 8d025b8 commit ecc380b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elmish.WPF.Tests/StaticViewModelTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type internal TestVm<'model, 'msg, 'B1>(model, binding: string -> Binding<'model
member _.UpdateModel(m) = IViewModel.updateModel(this, m)

member x.GetPropertyName = nameof(x.GetProperty)
member _.GetProperty = base.Get<'B1>() binding
member _.GetProperty = base.Get<'B1>() (binding >> Binding.unboxT)

member private __.Dispatch x =
dispatchMsgs.Add x
Expand Down

0 comments on commit ecc380b

Please sign in to comment.