ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
Upgrading ts-morph From 2.0.0 to 2.3.0
6 releases in betweennotes for 5
Reading releases, release notes and advisories…
Release by release
- New
Add
WriterFunctions.returnStatement
- New
- New
Custom module and type reference directive resolution
- New
Add
Project#getModuleResolutionHost()
- New
- Fixed
ObjectLiteralExpression methods would not get the correct "add" index when a comment member node was present.
- Fixed
- Fixed
ClassLike and TypeElementMembered nodes would not get the correct "add" index when a comment member node was present.
- Fixed
- New
Update
#getStatement()to work with type guards. - New
Add forEachStructureChild
- New
Add
StructureTypeGuards. - New
Wrap
ConditionalTypeNode.
- New
2.0.1no release note
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.