Closed rrdelaney closed 7 years ago
A new BuckleScript attribute is coming soon, bs.unwrap. It lets us flatted a union definition for an argument into [String string, Float float] [@bs.unwrap] instead of creating like three helpers like we do right now.
bs.unwrap
[
Float float] [@bs.unwrap]
A new BuckleScript attribute is coming soon,
bs.unwrap
. It lets us flatted a union definition for an argument into[
String string,Float float] [@bs.unwrap]
instead of creating like three helpers like we do right now.