Files
test-repo/changelog_unreleased/javascript/10417.md
T
2021-03-24 18:19:11 +02:00

382 B

Support Module Blocks proposal (#10417 by @sosukesuzuki, @thorn0)

Support formatting for Module Blocks Stage 2 proposal.

// Input
module { export let foo = "foo"; };

// Prettier main
SyntaxError: Unexpected token, expected ";"

// Prettier stable
module {
  export let foo = "foo";
};