diff --git a/website/blog/2021-11-21-2.5.0.md b/website/blog/2021-11-21-2.5.0.md index e51f8e82ec9f..d32560a26e04 100644 --- a/website/blog/2021-11-21-2.5.0.md +++ b/website/blog/2021-11-21-2.5.0.md @@ -240,26 +240,35 @@ class Foo { ### TypeScript -#### Fix formatting for tagged template decorators ([#11717](https://github.com/prettier/prettier/pull/11717) by [@sosukesuzuki](https://github.com/sosukesuzuki)) +#### Remove unnecessary parentheses for decorators ([#11717](https://github.com/prettier/prettier/pull/11717), [#11849](https://github.com/prettier/prettier/pull/11849) by [@sosukesuzuki](https://github.com/sosukesuzuki)) ```tsx // Input class Test { @foo`bar` - test: string = "test" + test1: string = "test" + + @test().x("global").y() + test2: string = "test"; } // Prettier 2.4 class Test { @(foo`bar`) test: string = "test" + + @(test().x("global").y()) + test2: string = "test"; } // Prettier 2.5 class Test { @foo`bar` test: string = "test" + + @test().x("global").y() + test2: string = "test"; } ```