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
- Inserting into a comma list after a trailing line comment comments out the new item; unparenthesized arrow functions break parameter edits
- Keep unmatched node_modules out of source globs
- fix: recognize JSDoc added to inline members
- Remove or update @ts-morph/common's vulnerable minimatch range
- fix: update minimatch to ^11.0.1 for GHSA-g3hv-75wg-m249
- fix: return child syntax lists for union types
- fix: keep getter-based names when adding methods from structures
- fix: handle leading trivia when replacing a range in a syntax list
- fix(common): avoid tracking directories during file reads
- fix: support type parameters on arrow functions
- Docs
- TypeScript not yet supported