-
Notifications
You must be signed in to change notification settings - Fork 471
Closed
Description
module E = {
@react.component
external make: (~x: string) => React.element = "default"
}
module EUncurried = {
@react.component
external make: (. ~x: string) => React.element = "default"
}
transformed to
module E = {
type props<'x> = {
x: 'x,
}
external make: React.componentLike<props<string>, React.element> = "default"
}
module EUncurried = {
type props = {}
external make: React.componentLike<props, (. ~x: string) => React.element> = "default"
}
The both outputs are expected to be same, but not.
Metadata
Metadata
Assignees
Labels
No labels