ts-morph
https://github.com/dsherret/ts-morph
TypeScript
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported1 Subscribers
Add a CodeTriage badge to ts-morph
Help out
- Issues
- Question: Is there swagger code gen example?
- Convert parameters to destructured object refactor
- How to resolve and inline dynamic imports?
- Add missing JSDoc classes and methods
- Get node at (line, col)
- Method to discover what the discriminant properties of a union type are
- Support loading ts-morph via esm.sh
- Question: Is there a simple way to get a type reduced to only primitives?
- [question] Get thenStatement body text
- method.getSignature().getReturnType().getText() returns union type instead of type alias in 10.x
- Docs
- TypeScript not yet supported