Fix JSDoc multiline type cast alignment in assignment (#19180)

This commit is contained in:
Konv Suu authored and GitHub committed 2026-05-20 23:07:24 +08:00
1 parent c3556d9d5c
commit 6ae5fecd46
5 files changed
+66 -8

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#### Fix multiline JSDoc-style comment alignment in assignments (#19180 by @kovsu)
<!-- prettier-ignore -->
```jsx
// Input
const foo = /**
* comment
*/ bar;
// Prettier stable
const foo = /**
* comment
*/ bar;
// Prettier main
const foo =
/**
* comment
*/ bar;
```