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
- ts-morph incorrectly transforms nodes which begin with whitespace
- Fix: ts-morph incorrectly transforms nodes which begin with whitespace
- [Question] Give tree to ts-morph
- getType of method's parameter returns ANY (for union or intersection types)
- How to set the language for diagnostic messages
- Unexpected! Inserting syntax kind of VariableStatement, but ExpressionStatement was inserted.
- Running `setIsAsync(true)` on `ArrowFunction` incorrectly inserts `async` keyword
- How to retrieve the TS Config file path from a project instance?
- Missing types when resolving intersection (`string` | `null`)
- [Help] How to resolve types that are imports to the declaring type?
- Docs
- TypeScript not yet supported