You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: