Back to Prettier

19287

changelog_unreleased/flow/19287.md

3.9.0246 B
Original Source

Do not expand object type with inline comments (#19287 by @fisker)

<!-- prettier-ignore -->
flow
// Input
type T = {|/* comment */|};

// Prettier stable
type T = {|
  /* comment */
|};

// Prettier main
type T = {| /* comment */ |};