SIGN IN SIGN UP

fix(formatter): preserve class decorators before export when the statement is suppressed (#26034)

Fixes #25911

---

As syntax, these two forms are equivalent:

```ts
@deco export class X {}
export @deco class X {}
```

However, in the former, the decorators lie outside the span of both the `ExportDeclaration` and the `Class`, they are inside no node's span.

The formatter's suppression path prints the `ExportDeclaration`'s span verbatim, so the decorators were silently dropped.
The latter form is unaffected because the decorators fall inside the export node's span.
L
leaysgur committed
bf37dd5c438c23b98fafed103471239c47b6331b
Parent: fe444cc