Closed
Description
Consider the following example:
@react.component
let make = (~name="") => <div />
In ReScript 11.0.0-alpha.6 with "uncurried": false
when using the create-interface command, this is the resulting .resi
:
@react.component
let make: (~name: string=?) => Jsx.element
but when I set "uncurried": true
, this is the result:
type props<'name> = {name?: 'name}
let make: (. props<string>) => Jsx.element
I expected it to be the same as before.
Metadata
Metadata
Assignees
Labels
No labels