Open jchavarri opened 11 months ago
I don't think the docs mention the {. "foo": string} syntax for types, looking at https://melange.re/v2.1.0/communicate-with-javascript/#using-jst-objects.
{. "foo": string}
Also should include some explanation for the Reason syntax feature, where {. "box": string} becomes a shortcut for Js.t({. box: string}).
{. "box": string}
Js.t({. box: string})
I don't think the docs mention the
{. "foo": string}
syntax for types, looking at https://melange.re/v2.1.0/communicate-with-javascript/#using-jst-objects.Also should include some explanation for the Reason syntax feature, where
{. "box": string}
becomes a shortcut forJs.t({. box: string})
.