Fix comment in empty type literal (#18364)
This commit is contained in:
1 parent
21a91fc2aa
commit
29a11ae1ae
11 files changed
+267
-41
No files matched your search
@@ -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
|
||||
};
|
||||
```
|
||||
Reference in new issue
Block a user