Skip to content

Commit

Permalink
Update changelog_unreleased/typescript/11515.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jed Fox <git@jedfox.com>
  • Loading branch information
sosukesuzuki and j-f1 committed Nov 24, 2021
1 parent 558abeb commit 8e9da6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changelog_unreleased/typescript/11515.md
@@ -1,6 +1,6 @@
#### [HIGHLIGHT]Avoid extra offset in arrow function body when using long types (#11515 by @kachkaev and @thorn0)

Starting with Prettier 2.3.0, type declarations in arrow functions could affect function body offset. Changing the length of the type annotation could produce large diffs and thus increased the chance of git conflicts. To prevent this, function body offset was stabilized.
Starting with Prettier 2.3.0, type declarations in arrow functions could affect function body offset. Changing the length of the type annotation could produce large diffs and thus increased the chance of git conflicts. To prevent this, function body offset was stabilized.<br>
**Note**: This change may affect a large number of lines in your codebase.

<!-- prettier-ignore -->
Expand Down

0 comments on commit 8e9da6d

Please sign in to comment.