this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add set-state

+5 -1
+1 -1
.ocamlformat
··· 1 - version=0.18.0 1 + version=0.19.0
+2
src/editor.ml
··· 42 42 43 43 let state t = Jv.get t "state" |> State.of_jv 44 44 45 + let set_state t v = Jv.call t "setState" [| State.to_jv v |] |> ignore 46 + 45 47 (* TODO *) 46 48 module Update = struct 47 49 type t = Jv.t
+2
src/editor.mli
··· 44 44 val state : t -> State.t 45 45 (** Current editor state *) 46 46 47 + val set_state : t -> State.t -> unit 48 + 47 49 module Update : sig 48 50 type t 49 51