Closed as not planned
Description
In previous versions of ReScript / the React PPX, I used the following bindings:
module Chart = {
@module("react-chartjs-2") @react.component
external make: (~_type: ChartType.t, ~data: {..}, ~options: {..}) => React.element = "Chart"
}
The leading underscore from ~_type
was dropped to bind to the prop type
.
In the new React PPX, this underscore is no longer dropped, which makes the binding not work.