ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
In short
4 breaking3 new
- Breaking
Upgraded to TS 4.8
- Breaking
Decorators are now modifiers due to TS 4.8
- Breaking
ts.createXfunctions seem almost completely deprecated in TS 4.8, so make sure to update your code to use thetraversal.context.createXfunctions instead - Breaking
Type#isArray()returns true for readonly arrays
Release note
Features
Add
Type#isReadonlyArray()andType#isArray()also includes readonly arrays (f1d5c43), closes #1306 #1305Upgrade to TS 4.8
Breaking changes
- Breaking
Upgraded to TS 4.8
- Breaking
Decorators are now modifiers due to TS 4.8
- Breaking
ts.createXfunctions seem almost completely deprecated in TS 4.8, so make sure to update your code to use thetraversal.context.createXfunctions instead - Breaking
Type#isArray()returns true for readonly arrays
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.