#### Fix inconsistent formatting of class superClass (#18652, #18659 by @fisker)

<!-- prettier-ignore -->
```tsx
// Input
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName
  extends foo.bar.Baz {}
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName
  extends foo.bar.Baz! {}

// Prettier stable
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName
  extends foo.bar.Baz {}
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName extends (foo
  .bar.Baz!) {}

// Prettier main
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName
  extends foo.bar.Baz {}
class ALongLongLongLongLongLongLongLongLongLongLongLongClassName
  extends foo.bar.Baz! {}
```
