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
- Type.getOwnProperties to get properties without base
- How to find references to ImportDeclarations and list unused imports
- Add ability to traverse tree in post order
- No MappedTypeNode definition in ts-morph
- Add getPosAtLineNumber
- Ability to resolve import path to SourceFile
- Support automatically determining if a string literal should be written for a property key or value in Writers.object
- `getExportedDeclarations` not working with yarn PnP
- exposing Node#_getNodeFromCompilerNode
- Using ts-morph in transform plugin
- Docs
- TypeScript not yet supported