You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsInterop.jsOptions compiles to a js record containing the specified fields. This works nicely for simple interfaces, however it behaves unexpectedly with nested ones.
openFable.Core[<AllowNullLiteral>]typeMyInnerType=abstractmembervalue:intwith get, set
[<AllowNullLiteral>]typeMyOuterType=abstractmembernested:MyInnerTypewith get, set
letx= JsInterop.jsOptions<MyOuterType>(fun o ->
o.nested.value <-10)