syntax
syntax copied to clipboard
Weird formatting when using curried function as a return value (in external)
external useUpdateAtom: (t<'value, 'setValue>) => (. 'value) => unit = "useUpdateAtom"
is formatted into
external useUpdateAtom: (t<'value, 'setValue>, . 'value) => unit = "useUpdateAtom"
Possible dupe of https://github.com/rescript-lang/syntax/issues/259?
The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions.