reasonml / reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
http://reasonml.github.io
MIT License
10.14k stars 428 forks source link

module types with one line and attribute prints in one line instead of two #2697

Closed davesnx closed 1 year ago

davesnx commented 1 year ago
module type FolderType = {
    [@react.component]
    let make: (~folder: folder, ~onClick: folder => unit) => React.element;
};
module type FolderType = {[@react.component]
                          let make: (~folder: folder, ~onClick: folder => unit) => React.element;
};
SanderSpies commented 1 year ago