Open
Description
ts2ocaml
currently uses abstract types (intf<'tags>
) to represent TS classes and interfaces, but an idiomatic ReScript binding would use record types.
In general, record types are insufficient for binding to TS classes (since records cannot have overloaded methods). But library authors would want to have them generated as record types anyway to avoid boilerplate works.