oxc/crates/oxc_isolated_declarations/tests
Dunqing e95d8e3990 feat(isolated-declarations): shrink span for arrow function that needs an explicit return type (#3752)
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
2024-06-19 14:33:24 +00:00
..
fixtures feat(isolated-declarations): shrink span for arrow function that needs an explicit return type (#3752) 2024-06-19 14:33:24 +00:00
snapshots feat(isolated-declarations): shrink span for arrow function that needs an explicit return type (#3752) 2024-06-19 14:33:24 +00:00
mod.rs feat(isolated-declarations): treat AssignmentPattern as optional (#3748) 2024-06-19 14:05:59 +00:00