Export "Node" interface from esprima
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 772
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have access to classes from "ndoes.ts" module.
https://github.com/jquery/esprima/blob/master/src/nodes.ts
This simplifies the process of creating a Node when you want to modify AST
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/nodes.ts, which the issue identifies as the module containing the Node interface and related classes. Check how the module currently exposes its declarations, then verify that Node can be imported and used when creating or modifying an AST; done means the requested interface is publicly accessible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100