Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Js.t obj type in external gets aligned wrong for named args #2562

Open
bsansouci opened this issue Apr 9, 2020 · 0 comments
Open

Js.t obj type in external gets aligned wrong for named args #2562

bsansouci opened this issue Apr 9, 2020 · 0 comments
Labels
Printer things that have to do with turning an AST into Reason code

Comments

@bsansouci
Copy link
Contributor

A picture Code is worth a thousand words:

external make:
  (
    ~prettyLongNameGoesHereBecauseItsDescriptive: (
                                                    'a,
                                                    {
                                                      .
                                                      "handleClick":
                                                        [@bs.meth] (ReactEvent.Mouse.t => unit),
                                                      "handleClick":
                                                        [@bs.meth] (ReactEvent.Mouse.t => unit),
                                                    }
                                                  ) =>
                                                  React.element
  ) =>
  React.element =
  "Hi";
@davesnx davesnx added the Printer things that have to do with turning an AST into Reason code label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Printer things that have to do with turning an AST into Reason code
Projects
None yet
Development

No branches or pull requests

2 participants