Binding to a JavaScript Function that Returns a Variant in ReScript
May 2, 2023 · 5 min read · ReScript provides easy ways to bind to most JavaScript functions in a way that feels both native and safe. Conveniently, it even provides an @unwrap decorator for parametric polymorphism. However, there are a few places where we still have to fill in...
Join discussion