Question: Is there a buildin-method to create factory-functions from kinds?
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
For example if I have an StringLiteralKind (from ts.SyntaxKind), is there a way to get the factory function to create such a node?
so e.g.
```ts
createFactory(ts.Syntaxkind.NumericLiteral) // returns ts.factory.createNumbericLiteral();
```
Contributor guide
Assessment
This issue has not been assessed yet.