ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
Upgrading ts-morph From 21.0.1 to 22.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 21.0.1Latest28.0.0
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking22.0.0
- Breaking22.0.0
Release by release
- Breaking
BREAKING: Upgrade to TypeScript 5.4
- Breaking
BREAKING:
Node.prototype.forgetDescendants()no longer returns self - New
Type.prototype.isAssignableTo - New
TypeChecker.prototype.resolveName - New
ClassDeclarationStructure - support static blocks
- Fixed
MethodDeclarationStructure should write an asterisk isGenerator = true
- Breaking
2 other lines we could not sort, mostly version bumps
1 internal line (docs, tests, tooling) left out.
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.