Given a JSX 4 component defined in Test.res:
@react.component
let make = (~a: string) => React.string(a)
I get the following Test.resi when using the "ReScript: Create interface file..." action:
type props<'a> = {a: 'a}
let make: props<string> => React.element
I would have expected to get
@react.component
let make: (~a: string) => React.element
(same as for JSX 3).