mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Current `span` we can't be consistent with typescript.
We report the following
```ts
(a, b) =>
^^^^^^^^^
{ }
^
```
TypeScript reports the following
```ts
(a, b) =>
^^^^^^^^^
{}
```
The TypeScript only reports the first line, if we want it to be exactly the same we need to find the first newline position
|
||
|---|---|---|
| .. | ||
| arrow-function-return-type.snap | ||
| function-parameters.snap | ||
| infer-return-type.snap | ||
| non-exported-binding-elements.snap | ||
| set-get-accessor.snap | ||