Do not generate label arguments for a single argument
tmattio opened this issue · comments
At the moment, ts2ocaml
always generates functions with labelled arguments.
The generated API would be much cleaner if functions with a single argument would be generated without labels.
In addition, functions that have a single non-optionnal argument could also have labelled argument only for the optionnal ones.