I would format like this & leave the existing code under it:

```
if (transaction instanceof ReactServerRenderingTransaction) {
  return ret + '>';
}
```