Skip to content

Conversation

@43081j
Copy link
Contributor

@43081j 43081j commented Nov 28, 2025

Adds a codemod for the following:

  • foo.concat(A, B) -> [...foo, ...A, ...B]
  • foo.concat([A, B]) -> [...foo, ...[A, B]]
  • Object.assign({}, A, B) -> {...A, ...B}
  • fn.apply(null, args) -> fn(...args)

Adds a codemod for the following:

- `foo.concat(A, B)` -> `[...foo, ...A, ...B]`
- `foo.concat([A, B])` -> `[...foo, ...[A, B]]`
- `Object.assign({}, A, B)` -> `{...A, ...B}`
- `fn.apply(null, args)` -> `fn(...args)`
@43081j 43081j merged commit e75772e into main Nov 29, 2025
1 check passed
@43081j 43081j deleted the spreaders branch November 29, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants