melange-re / melange

A mixture of tooling combined to produce JavaScript from OCaml & Reason

Home Page:https://melange.re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explore removing `@mel.set` in < .. > Js.t

anmonteiro opened this issue · comments

type rect = < height : int [@mel.set] > Js.t

and

foo##height #= ...

are probably not needed to have anymore.

ftr mel.get is also supported with some payload:

type yy2 = < height : int [@mel.get{undefined ; null}] [@mel.set] > Js.t