Skip to content

Add interface files to jsx files in jscomp/others #5648

Closed
@cristianoc

Description

@cristianoc

Without interface files, one gets errors when compiling a local interface file with the same name e.g. Jsx.resi.

The implementation /Users/cristianocalcagno/GitHub/rescript-vscode/analysis/tests/src/Jsx.res
       does not match the interface /Users/cristianocalcagno/GitHub/rescript-compiler/jscomp/others/jsx.cmi:
       The value `component' is required but not provided
...

Also why jsx.ml and not jsx.res ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions