Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Index of types


A
any [Js.​Unsafe]

Top type.

any_js_array [Js.​Unsafe]

C
callback [Js]

Type of callback functions intended to be called without a meaningful this implicit parameter.

constr [Js]

A value of type (t1 -> ... -> tn -> t Js.t) Js.constr is a Javascript constructor expecting n arguments of types t1 to tn and returning a Javascript object of type t Js.t.


F
file_url [Url]

The type for local file urls.

float_prop [Js]

Type of float properties.


G
gen_prop [Js]

Type used to specify the properties of Javascript objects.


H
http_url [Url]

The type for HTTP(s) url.


L
lexbuf [Deriving_Json_lexer]

M
match_result_handle [Js]

A handle to a match result.

meth [Js]

Type used to specify method types: a Javascript object <m : t1 -> t2 -> ... -> tn -> t Js.meth> Js.t has a Javascript method m expecting n arguments of types t1 to tn and returns a value of type t.

meth_callback [Js]

Type of callback functions.


O
opt [Js]

Type of possibly null values.

optdef [Js]

Type of possibly undefined values.

optdef_prop [Js]

Type of read/write properties that may be undefined: you can set them to a value of some type t, but if you read them, you will get a value of type t optdef (that may be undefined).


P
prop [Js]

Type of read/write properties: a Javascript object <p : t Js.writeonly_prop> Js.t has a read/write property p of type t.


R
readonly_prop [Js]

Type of read-only properties: a Javascript object <p : t Js.readonly_prop> Js.t has a read-only property p of type t.

regexp [Regexp]

The type for regexps.

result [Regexp]

The type for match result.


S
string_array [Js]

Opaque type for string arrays.


T
t [Js.​OPT]
t [Js]

Type of Javascript objects.


U
url [Url]

The type for urls.


W
writeonly_prop [Js]

Type of write-only properties: a Javascript object <p : t Js.writeonly_prop> Js.t has a write-only property p of type t.