Fix comment in empty type literal (#18364)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-11-29 00:00:52 +08:00
1 parent 21a91fc2aa
commit 29a11ae1ae
11 files changed
+267 -41

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#### Fix comment in empty type literal (#18364 by @fisker)
<!-- prettier-ignore -->
```tsx
// Input
export type XXX = {
// tbd
};
// Prettier stable
export type XXX = { // tbd };
// Prettier main
export type XXX = {
// tbd
};
```