package timmy

  1. Overview
  2. Docs

Source file type_js.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 1 "timmy/lib/type_js.js.ml"
module Date = struct
  type js = Js_of_ocaml.Js.date Js_of_ocaml.Js.t
end

module Daytime = struct
  type js =
    < hours : Js_of_ocaml.Js.number Js_of_ocaml.Js.readonly_prop
    ; minutes : Js_of_ocaml.Js.number Js_of_ocaml.Js.readonly_prop
    ; seconds : Js_of_ocaml.Js.number Js_of_ocaml.Js.readonly_prop >
    Js_of_ocaml.Js.t
end

module Month = struct
  type js = int
end

module Span = struct
  type js = int
end

module Time = struct
  (** Time representation in javascript. *)
  type js = Js_of_ocaml.Js.date Js_of_ocaml.Js.t
end

module Week = struct
  type js =
    < n : Js_of_ocaml.Js.number Js_of_ocaml.Js.readonly_prop
    ; year : Js_of_ocaml.Js.number Js_of_ocaml.Js.readonly_prop >
    Js_of_ocaml.Js.t
end

module Weekday = struct
  type js = int
end