`remove()` method missing from `SyntaxKind.SpreadElement`
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
Version: 17.0.1
`remove()` method is missing from `SyntaxKind.SpreadElement`
**To Reproduce**
```ts
if (node.isKind(SyntaxKind.SpreadElement)) {
node.remove();
// Property 'remove' does not exist on type 'SpreadElement'.ts(2339)
}
```
**Expected behavior**
`SyntaxKind.SpreadElement` should have a `remove()` method.
Contributor guide
Research direction
Read CONTRIBUTING.md, then locate the TypeScript definition or wrapper for SyntaxKind.SpreadElement and compare how related syntax kinds expose remove(). Done when the provided example type-checks with node.remove() available and the project’s existing checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100