We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@@deriving jsProperties
type t = { action : [ `String of string | `Int of int ] option; [@mel.unwrap] [@mel.optional] } [@@deriving jsProperties, getSet] let x = t ~action:(`String "x")