2021-01-20 15:01:16 +09:00
|
|
|
#### Improve visual separation between header and body in classes with multiline headers (#10085 by @sosukesuzuki)
|
|
|
|
|
|
|
|
|
|
<!-- prettier-ignore -->
|
|
|
|
|
```ts
|
|
|
|
|
// Input
|
|
|
|
|
class loooooooooooooooooooong
|
|
|
|
|
extends looooooooooooooooooong
|
|
|
|
|
implements loooooooooooooooooooong
|
|
|
|
|
{
|
|
|
|
|
property: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Prettier stable
|
|
|
|
|
class loooooooooooooooooooong
|
|
|
|
|
extends looooooooooooooooooong
|
|
|
|
|
implements loooooooooooooooooooong {
|
|
|
|
|
property: string;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-24 01:14:13 +08:00
|
|
|
// Prettier main
|
2021-01-20 15:01:16 +09:00
|
|
|
class loooooooooooooooooooong
|
|
|
|
|
extends looooooooooooooooooong
|
|
|
|
|
implements loooooooooooooooooooong
|
|
|
|
|
{
|
|
|
|
|
property: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
```
|