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
{{ message }}
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
This type is a JS object type with a field
c
of Reason's option type:It can be converted to a JS representation like this:
The conversion function can simply be the identity, to allow direct interop without any copying, all while using idiomatic options on the Reason side.
The constraint is on the JS type checking: the type for
c
ensures that it can not benull
, justundefined
.The text was updated successfully, but these errors were encountered: