Skip to content

rescript: record mode #385

Open
Open
@cannorin

Description

@cannorin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrescriptFor `ReScript` target

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions