package monaco_jsoo

  1. Overview
  2. Docs

Builders of options used in Monaco

type 'cls t

The type of option. The phantom parameter 'cls is used to express the subtyping of the options.

type 'cls options

Set of options

val bool : string -> bool -> 'cls t
val string : string -> string -> 'cls t
val any : string -> 'a -> 'cls t
val options : 'cls t array -> 'cls options