Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain somewhere how to work with Js.t types #145

Open
jchavarri opened this issue Nov 23, 2023 · 0 comments
Open

Explain somewhere how to work with Js.t types #145

jchavarri opened this issue Nov 23, 2023 · 0 comments

Comments

@jchavarri
Copy link
Member

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 for Js.t({. box: string}).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant