LexiFi / gen_js_api

Easy OCaml bindings for Javascript libraries
MIT License
177 stars 31 forks source link

Support tuple on @js.scope #168

Closed cannorin closed 2 years ago

cannorin commented 2 years ago

Related: #160

This PR makes @js.scope accept a tuple payload, which can be used to write a nested scope.

alainfrisch commented 2 years ago

This feature is not completely discoverable :-) Is there a natural place in the doc where it could be mentioned?

mlasson commented 2 years ago

Fair enough, I opened https://github.com/LexiFi/gen_js_api/pull/169