Back to Prettier

18616

changelog_unreleased/flow/18616.md

3.9.0328 B
Original Source

Improve comment format in inexact tuples (#18616 by @fisker)

<!-- prettier-ignore -->
flow
// Input
type A = [// comment
...];
type B = [/* comment */...];

// Prettier stable
type A = [...
  // comment
];
type B = [...
  /* comment */
];

// Prettier main
type A = [
  ...// comment
];
type B = [.../* comment */];